Hi everyone,

I'm using Django 1.0 and I'm attempting to add comments to a blog,
following along in the "Practical Django Projects" book.

The error is:
Reverse for '<function post_comment at 0x1ac9df0>' with arguments '()'
and keyword arguments '{}' not found.

when {% comment_form_target %} is present in the template.

'django.contrib.comments' has been added to settings.py
(r'^comments/', include('django.contrib.comments.urls')), has been
added to my main urls.py

Here is my code, implemented on the entry_detail.html template for a
blog, using date-based generic views:

{% load comments %}
{% get_comment_form for object as form %}
<form action="{% comment_form_target %}">
        {{ form }}
</form>

I see there is an closed ticket: http://code.djangoproject.com/ticket/8571.
I have cleared out all of my .pyc files as suggested, but I'm still
getting the template error. Can anyone offer any advice?

TIA,
Brandon
The form will render if I remove {% comment_form_target %
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to