home / django_tickets / tickets

tickets: 8571

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
8571 2008-08-26 21:00:41 2010-01-16 19:13:22 2022-03-06 03:42:36.444864 Unreviewed closed contrib.comments     1.0 worksforme comment framework throws obscure exception in {% comment_form_target %} Today I updated Django to trunk version 8580, and I saw new comments framework. I updated my app acording to docs, made sql data migration but it looks like new comments are not working. I am getting: Caught an exception while rendering: Reverse for '<function post_comment at 0x01894770>' not found. when I try to call render_comment_form ,or get_comment_form, and all becasue of {% comment_form_target %}, this seams to be the problem. It is some kind of strange bug, Has someone some kind of clue what I can do to fix this. Thanx, Below is original trace: Original Traceback (most recent call last): File "D:\dev\django-svn\django\template\debug.py", line 71, in render_node result = node.render(context) File "D:\dev\django-svn\django\template\__init__.py", line 876, in render return func(*resolved_vars) File "D:\dev\django-svn\django\contrib\comments\templatetags \comments.py", line 245, in comment_form_target return comments.get_form_target() File "D:\dev\django-svn\django\contrib\comments\__init__.py", line 43, in get_form_target return urlresolvers.reverse("django.contrib.comments.views.comments.post_comment") File "D:\dev\django-svn\django\core\urlresolvers.py", line 307, in reverse *args, **kwargs))) File "D:\dev\django-svn\django\core\urlresolvers.py", line 291, in reverse raise NoReverseMatch("Reverse for '%s' not found." % lookup_view) NoReverseMatch: Reverse for '<function post_comment at 0x01894770>' not found.Request Method: GET Request URL: http://localhost/article/novi/ Exception Type: TemplateSyntaxError Exception Value: Caught an exception while rendering: Reverse for '<function post_comment at 0x01894770>' not found. Original Traceback (most recent call last): File "D:\dev\django-svn\django\template\debug.py", line 71, in render_node result = node.render(context) File "D:\dev\django-svn\django\template\__init__.py", line 876, in render return func(*resolved_vars) File "D:\dev\django-svn\django\contrib\comments\templatetags \comments.py", line 245, in comment_form_target return comments.get_form_target() File "D:\dev\django-svn\django\contrib\comments\__init__.py", line 43, in get_form_target return urlresolvers.reverse("django.contrib.comments.views.comments.post_comment") File "D:\dev\django-svn\django\core\urlresolvers.py", line 307, in reverse *args, **kwargs))) File "D:\dev\django-svn\django\core\urlresolvers.py", line 291, in reverse raise NoReverseMatch("Reverse for '%s' not found." % lookup_view) NoReverseMatch: Reverse for '<function post_comment at 0x01894770>' not found. nobody slavus@gmail.com comment, comment_form_target 0 0 0 0 0 0
Powered by Datasette · Queries took 1.185ms