hi,

imho request.user.is_authenticated and request.user.is_anonymous

-djibon-

On 10/14/09, robin nanola <robnan...@gmail.com> wrote:
> try request.user
>
> you get a key error coz there is no  'REMOTE_USER' key in META.
>
> On Wed, Oct 14, 2009 at 5:29 PM, luca72 <lucabe...@libero.it> wrote:
>
>>
>> Hello if i use request.META['REMOTE_USER'] i get key error, but if i
>> use 'REMOTE_HOST' not
>> can you tell me how to get the user that is authenticate
>> I use the decorator @login_required and so the user is authenticated
>> correct?
>>
>> Regards
>>
>> Luca
>> >
>>
>
> >
>


-- 
--------------------------------------------------------------
http://www.tumbletooth.org
my linkedin profile : http://www.linkedin.com/in/bayuadji
--------------------------------------------------------------

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

Reply via email to