hagsteel / swampdragon

swampdragon
Other
557 stars 73 forks source link

settings.js not found #203

Closed SparksFyz closed 8 years ago

SparksFyz commented 8 years ago

swampdragon 0.4.2.2 django 1.8.1

I am a newbie and when I run the chat example, some errors occurred.

I have both tried manage.py runsd and manage.py runserver 0.0.0.0:9999

when I used runserver, here are the errors in web page. screenshot from 2016-03-11 19 34 28

when I used runsd, the errors in terminal like this: screenshot from 2016-03-11 19 40 59

I think it maybe about the settings.py, but I have not changed any settings or files in templates.

I hope someone can help me. Thanks~

daavve commented 8 years ago

The problem has to do with swampdragon/templatetags/swampdragon_tags.py, and it is present in the release version.

You'll have to either install the development version or patch the release version.

I maintain the Arch Linux package of swampdragon here I've backported many fixes from the development release as patches.

If you want to patch for your particular issue, I've attached a diff you can reference. You would probably find it easier to install the development version though.

Please let me know if you have questions.

-Dave diff.txt

SparksFyz commented 8 years ago

@oraac Thanks for help. I have solved my problem.