Exception viewing the Blog

10 views
Skip to first unread message

ccube

unread,
Apr 6, 2009, 4:52:47 PM4/6/09
to Django Basic Apps
If i click a blog-entry, i am getting following error:

Caught an exception while rendering: Reverse for '<function
post_comment at 0x2152ed8>' with arguments '()' and keyword arguments
'{}' not found.

1 {% load comments i18n %}
2 <form action="{% comment_form_target %}" method="post">
3 {% for field in form %}
4 {% if field.is_hidden %}
5 {{ field }}
6 {% else %}
7 <p
8 {% if field.errors %} class="error"{% endif %}
9 {% ifequal field.name "honeypot" %} style="display:none;"{%
endifequal %}>
10 {% if field.errors %}{{ field.errors }}{% endif %}
11 {{ field.label_tag }} {{ field }}
12 </p>


Perhaps I am not understanding correctly, but this is the stock basic-
blog application. What I am doing wrong.
Using SVN HEAD of django and tagging.

Thanks in advance again! ;)

cheers

Myles Braithwaite

unread,
Apr 6, 2009, 4:59:54 PM4/6/09
to django-b...@googlegroups.com
You haven't added the Django Comments application to your project yet.

Check out the documentation:

ccube

unread,
Apr 10, 2009, 5:15:42 AM4/10/09
to Django Basic Apps
Oh, thanks. :)
I added it, but it hast to be in the right order! First comments, than
blog! :)


On Apr 6, 10:59 pm, Myles Braithwaite <m...@mylesbraithwaite.com>
wrote:
> You haven't added the Django Comments application to your project yet.
>
> Check out the documentation:
>
> http://docs.djangoproject.com/en/1.0/ref/contrib/comments/
>
> ---
> Myles Braithwaite
> m...@mylesbraithwaite.comhttp://mylesbraithwaite.com/

Groby

unread,
May 10, 2009, 8:27:05 PM5/10/09
to Django Basic Apps
In general, it would be rather awesome if the README file included
quick instructions on how to actually set up a version of basic_apps

Yes, it should be rather simple if you've ever used Django - but if
you're using basic_apps, there's a good chance you're on your first
Django project, and the world is fearsome and mystifying. (Well, at
least it is for me...;)

Rachel

Rachel Blum

unread,
May 10, 2009, 8:42:33 PM5/10/09
to Django Basic Apps
Following up on myself: It seems all I needed was to adjust the URL settings... (And figure out that Markdown is not part of django.contrib.markup, but that's an issue with the Django docs themselves)

For google: Here's how to make django-basic-blog work: http://solutions.treypiepmeier.com/2008/10/20/installing-django-basic-blog/

Rachel
Reply all
Reply to author
Forward
0 new messages