on your view the request object will be populated already, it is meant for
read only, including the user object so you could check for example if the
current user is authenticated using the request.user object

good luck


On Mon, Jan 20, 2014 at 7:35 AM, Chen Xu <xuche...@gmail.com> wrote:

> Hi Everyone,
> I am wondering how request.User get set during the authentication, do we
> have to do anything like:
>
> request.User = User(....) or it will have value by itself?
>
>
> Thanks in advance.
> --
> ⚡ Chen Xu ⚡
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACac-qZDa9GrT1wjbBxBsSR%2BGmotScqS76VrTCVw-8TJRioa7Q%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6t%2BAJrjKxHAJ4fbOTMqxGCpG%3D6GFCwN%2B3uyK43aATKHLjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to