I sure I have wrote '(r'^comments/', include
('django.contrib.comments.urls')),' into /path/to/project/url.py

On Dec 29, 7:47 pm, Grigory Fateyev <g...@anastasia.ru> wrote:
> Hello Shuge Lee!
> On Mon, 29 Dec 2008 01:38:26 -0800 (PST) you wrote:
>
>
>
>
>
> > setting.py
> > ...
> > INSTALLED_APPS = (
> > ...
> > 'django.contrib.comments',
> > ...
>
> > python manage.py syncdb
> > ...
>
> > view.py
> > from shuge.fap_soft.models import * #Category
> > ....
> > return render_to_response( 'a.html', {'obj': obj, 'category':
> > Category} )
>
> > a.html
> > ...
> > {% load comments %}
> > {% render_comment_form for category %}
> > ...
>
> > then it displays:
> > TemplateSyntaxError at /fap_soft/category/
>
> > Is this a bug of Django's comments framework ?
>
> Did you write in urls.py like so:
> url(r'/comments/', include('django.contrib.comments.urls')),
> ?
>
> --
> Всего наилучшего! Григорий
> greg [at] anastasia [dot] ru
> Письмо отправлено: 2008/12/29 14:45
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to