#16390: urlreslove error at django.comments.
-----------------------+----------------------------------
Reporter: anonymous | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: contrib.comments
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------+----------------------------------
at the get_form_target function django trying to to resolve
django.contrib.comments.views.comments.post_comment view and return it.(1)
But when it trys, an error happening:
Caught NoReverseMatch while rendering: Reverse for
'django.contrib.comments.views.comments.post_comment' with arguments '()'
and keyword arguments '{}' not found.
When i look at urls.py i see that there is exact match for function path
(2)
but than why it gives that error? may be get_form_target function has to
use view names instead of function paths?
1)
https://code.djangoproject.com/browser/django/tags/releases/1.3/django/contrib/comments/__init__.py#L61
2)
https://code.djangoproject.com/browser/django/tags/releases/1.3/django/contrib/comments/urls.py#L4
--
Ticket URL: <https://code.djangoproject.com/ticket/16390>
Django <https://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.