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-te
Dear DanYun Liu
Django has the biuld-in middlewar with the user.
You can use the user in your templates immediately.
在 2012年4月28日星期六,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 t
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 us
3 matches
Mail list logo