Am 28.04.12 11:11, schrieb DanYun Liu:
> 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?
>
http://stackoverflow.com/questions/41547/always-including-the-user-in-the-django-template-context
good luck,
TR
--
http://www.pyt3ch.com
--
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment