Re: TYPE ERROR at /login/: ; Help me Resolve

2020-05-23 Thread LGBS fine soul coders
Py manage. py makemigrations On May 23, 2020 10:04, "Madhav Nandan" wrote: > 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, howeve

Re: TYPE ERROR at /login/: ; Help me Resolve

2020-05-23 Thread Kasper Laudrup
Hi Madhav, On 23/05/2020 09.03, Madhav Nandan wrote: 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 t

Re: TYPE ERROR at /login/: ; Help me Resolve

2020-05-23 Thread Ousseynou Diop
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

Re: TYPE ERROR at /login/: ; Help me Resolve

2020-05-23 Thread Anubhav Madhav
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 par

Re: TYPE ERROR at /login/: ; Help me Resolve

2020-05-23 Thread Madhav Nandan
Thanks guys. On Sat, May 23, 2020 at 8:14 PM Anubhav Madhav wrote: > 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 pro