Saturday, April 28, 2012

how to get the variable in the context

I defined a context processor to pass the login user info to the template. and, I also need to use it in the view.

is there any way to get the variable from the context?

--
Pursuit the freedom of the soul.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment