﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
8571	comment framework throws obscure exception in {% comment_form_target %}	slavus@…	nobody	"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."		closed	contrib.comments	1.0		worksforme	comment, comment_form_target	django@…	Unreviewed	0	0	0	0	0	0
