On Mon, Dec 29, 2008 at 3:38 AM, Shuge Lee <shuge....@gmail.com> wrote:
> return render_to_response( 'a.html', {'obj': obj, 'category':
> Category} )
>
> a.html
> ...
> {% load comments %}
> {% render_comment_form for category %}

The problem may be that you are passing Category -- the model which
represents all categories in your database -- instead of a specific
individual category. You may want to read up on the distinction
between a class and an instance of a class for further information.



-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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