#8571: comment framework throws obscure exception in {% comment_form_target %}
------------------------------------------+---------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: new | Milestone: 1.0
Component: django.contrib.comments | Version: SVN
Keywords: comment, comment_form_target | Stage: Unreviewed
Has_patch: 0 |
------------------------------------------+---------------------------------
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.
--
Ticket URL: <http://code.djangoproject.com/ticket/8571>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---