Exactly, django now supports is_authenticated as an attribute and not as a 
method is_authenticated().

Try is_authenticated.


On Saturday, 23 May 2020 17:29:01 UTC+5:30, Ousseynou Diop wrote:
>
> Hello Guys, the problem is that you call the authenticated method, don't 
> do this.
> Remove the parenthesis, print(request.user.is_autheticated)
>
> Le samedi 23 mai 2020 07:06:08 UTC, Madhav Nandan a écrit :
>>
>> Hello all,
>>
>> I was making an eCommerce web application using Django 2.X.
>>
>> I'm getting TYPE ERROR at /login/: 
>> here screenshots are attached, help me resolve issues:
>>
>> I did make all the required changes, however, I don't find how to get rid 
>> of this.
>>
>> for all docs, please follow this link: 
>>
>> https://drive.google.com/open?id=1l3Y5KgzPNGaQSOS9IX5IVL-_DDRhyeM7
>>
>>
>>
>> -- 
>> Madhav Nandan
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/351066d9-4eda-4a1c-9ed7-c78fa8689c9b%40googlegroups.com.

Reply via email to