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 ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---