byteweaver / django-forums Goto Github PK
View Code? Open in Web Editor NEWSmall standalone django forums application.
License: BSD 3-Clause "New" or "Revised" License
Small standalone django forums application.
License: BSD 3-Clause "New" or "Revised" License
I see in the documentation it mentioned that it supports 1.5, though just want to confirm if it works with 1.6.
It installed fine with Django 1.6 though while accessing forum pages it failed with following error. Looks like it doesn't have anything to do with Django 1.6, and just a configuration issue.
NoReverseMatch at /community/
u'forums' is not a registered namespace
Request Method: GET
Request URL: http://127.0.0.1:8082/community/
Django Version: 1.6
Exception Type: NoReverseMatch
Exception Value:
...
in template /src/django-forums/forums/templates/forums/category_list.html, error at line 34
u'forums' is not a registered namespace
href="{% url 'forums:forum' forum.id %}"
The url is /community/ because I have entry in urls.py -
url(r'^community/$', include('forums.urls')),
Does this app support Django 1.5? It looks like at least the url tags need to be updated.
I tried to update url tags in category_list.py ie:
{% url "forums:forum" "forum.id" %}
which did not work as it said the namespace was not registered.
So I next changed the url in the main urls.py to
url(r'^forums/', include('forums.urls', namespace="forums", app_name="forums")),
But it still says
Reverse for 'forum' with arguments '(u'forum.id',)' and keyword arguments '{}' not found.
Implement a flag to close forums, so that no new posts are possible
TemplateDoesNotExist at /forum/1/create/
forms.html
i don't know why?
I saw that django-forums is supported by django 1.5, you may also add that django 1.4 is known to be incompatible due to namespacing syntax that changed. I came upon this issue this morning until I realized that django 1.5 is indeed required.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.