On Mar 27, 1:34 pm, PanFei <cnwe...@gmail.com> wrote:
> hi all, i want to know if there is a way to get all the context
> variable (name) in a template.
>
> for example :
>
> I use render_to_response(template, {}
> context_instance=RequestContext(request)) to return a response .but I
> really do not know the context_instance=RequestContext(request) put a
> user object in the template context ! oh my god ,how to show all the
> context variable in the template ?
>
> thank you for your help !

The Django debug toolbar has a panel which shows this.
http://robhudson.github.com/django-debug-toolbar/
--
DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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