Re: RequestContext and request.user

2013-08-17 Thread Robin Lery
Thank you Lucas!


On Fri, Aug 16, 2013 at 10:55 PM, Lucas Magnum <lucasmagn...@gmail.com>wrote:

> Robin,
> RequestContext, includes TEMPLATE_CONTEXT_PROCESSORS results.
> request is a result of "django.core.context_processors.request".
>
>
> https://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext
>
> []'s
>
> Lucas Magnum.
>
>
> 2013/8/16 Robin Lery <robinl...@gmail.com>
>
>> Hello,
>> I am all confused about these two things:
>> context_instance = RequestContext and request.user
>>
>> Are they both equal? I suppose RequestContext includes a user varialble
>> from the given template. And request.user would also give the current
>> user's info, i guess. Can someone please give me insight about these two.
>> Thank you.
>>
>> --
>> 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.
>> 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.
> 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: RequestContext and request.user

2013-08-16 Thread Lucas Magnum
Robin,
RequestContext, includes TEMPLATE_CONTEXT_PROCESSORS results.
request is a result of "django.core.context_processors.request".

https://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext

[]'s

Lucas Magnum.


2013/8/16 Robin Lery <robinl...@gmail.com>

> Hello,
> I am all confused about these two things:
> context_instance = RequestContext and request.user
>
> Are they both equal? I suppose RequestContext includes a user varialble
> from the given template. And request.user would also give the current
> user's info, i guess. Can someone please give me insight about these two.
> Thank you.
>
> --
> 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.
> 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.
For more options, visit https://groups.google.com/groups/opt_out.


RequestContext and request.user

2013-08-16 Thread Robin Lery
Hello,
I am all confused about these two things:
context_instance = RequestContext and request.user

Are they both equal? I suppose RequestContext includes a user varialble
from the given template. And request.user would also give the current
user's info, i guess. Can someone please give me insight about these two.
Thank you.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.