Re: AttributeError: 'customer' object has no attribute 'is_authenticated'

2021-04-01 Thread Gabriel Araya Garcia
Why you don't explain better your problem ? When appear that

Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos




El jue, 1 abr 2021 a las 15:43, Mahendra ()
escribió:

> I think given name is wrong Hlo do you have any idea posting form data?
>
> Mahendra Yadav
>
> On Thu, 1 Apr 2021, 22:32 Salima Begum, 
> wrote:
>
>> Hi all,
>>
>> How to solve this errors
>> ```
>> AttributeError: 'customer' object has no attribute 'is_authenticated'
>> ```
>>
>> ```
>>   AttributeError: 'customer' object has no attribute 'is_anonymous'
>> ```
>>
>> How can I solve this above errors. Help me.
>>
>> Thanks
>> ~Salima
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAMSz6bkcDZeFhhStQeTOeLAst1kNA1xa%2BuVsd0sva1JA0P8kMw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAMSz6bkcDZeFhhStQeTOeLAst1kNA1xa%2BuVsd0sva1JA0P8kMw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAN-6G3x_vyJcBsfQ-pfN3AgK1-V_SVPSt3Fk6h%2ByLnU4iKorkg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAN-6G3x_vyJcBsfQ-pfN3AgK1-V_SVPSt3Fk6h%2ByLnU4iKorkg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKVvSDCxW%3DcKpko_oxduQkZyCO00t1tRjbJ55fBTf%3DhjZj6-3g%40mail.gmail.com.


Re: AttributeError: 'customer' object has no attribute 'is_authenticated'

2021-04-01 Thread sebasti...@gmail.com
I think this must be wrong. Only User instance have a method 
is_authenticated. Here a example for views:

if request.user.is_authenticated:
   pass

sali...@rohteksolutions.com schrieb am Donnerstag, 1. April 2021 um 
19:03:36 UTC+2:

> Hi all,
>
> How to solve this errors
> ```
> AttributeError: 'customer' object has no attribute 'is_authenticated'
> ```
>
> ```
>   AttributeError: 'customer' object has no attribute 'is_anonymous'  
> ```
>
> How can I solve this above errors. Help me.
>
> Thanks
> ~Salima
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3e9ee7e0-0616-4150-a778-75e9660b5fb1n%40googlegroups.com.


Re: AttributeError: 'customer' object has no attribute 'is_authenticated'

2021-04-01 Thread Mahendra
I think given name is wrong Hlo do you have any idea posting form data?

Mahendra Yadav

On Thu, 1 Apr 2021, 22:32 Salima Begum, 
wrote:

> Hi all,
>
> How to solve this errors
> ```
> AttributeError: 'customer' object has no attribute 'is_authenticated'
> ```
>
> ```
>   AttributeError: 'customer' object has no attribute 'is_anonymous'
> ```
>
> How can I solve this above errors. Help me.
>
> Thanks
> ~Salima
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMSz6bkcDZeFhhStQeTOeLAst1kNA1xa%2BuVsd0sva1JA0P8kMw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAMSz6bkcDZeFhhStQeTOeLAst1kNA1xa%2BuVsd0sva1JA0P8kMw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN-6G3x_vyJcBsfQ-pfN3AgK1-V_SVPSt3Fk6h%2ByLnU4iKorkg%40mail.gmail.com.


AttributeError: 'customer' object has no attribute 'is_authenticated'

2021-04-01 Thread Salima Begum
Hi all,

How to solve this errors
```
AttributeError: 'customer' object has no attribute 'is_authenticated'
```

```
  AttributeError: 'customer' object has no attribute 'is_anonymous'
```

How can I solve this above errors. Help me.

Thanks
~Salima

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMSz6bkcDZeFhhStQeTOeLAst1kNA1xa%2BuVsd0sva1JA0P8kMw%40mail.gmail.com.