Giter VIP home page Giter VIP logo

django-forums's People

Contributors

akuryou avatar noxan avatar python-consulting avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

django-forums's Issues

Error while using it with Django 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')),

1.5 Support?

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.

Close forum flag

Implement a flag to close forums, so that no new posts are possible

Namespacing within templates

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.