Opened 13 years ago

Closed 13 years ago

#16390 closed Bug (needsinfo)

urlreslove error at django.comments.

Reported by: anonymous Owned by: nobody
Component: contrib.comments Version: 1.3
Severity: Normal Keywords:
Cc: miratcanbayrak@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

Change History (1)

comment:1 by Ramiro Morales, 13 years ago

Resolution: needsinfo
Status: newclosed

When do you see this problem? are you using the comments app?. Can you paste the full traceback if any and not just the last line?

Note: See TracTickets for help on using tickets.
Back to Top