0

I do not able to add user information in ' user django authentication ' .

In my code under register function , if request.method == " POST" not working it directly execute else condition,after giving all correct path ,please do help. Here is the link of my code- https://drive.google.com/file/d/1eAZfYFGnwnc-t5Un3k1euEe_DwoBFlvA/view?usp=drivesdk

13th Jul 2020, 6:09 PM
simran singh
simran singh - avatar
4 odpowiedzi
0
you can create a super user and password
15th Jul 2020, 1:44 PM
Nilesh Jadhav
Nilesh Jadhav - avatar
0
I had already create it.
15th Jul 2020, 5:45 PM
simran singh
simran singh - avatar
0
Your if condition is if user is not None:
16th Jul 2020, 5:31 AM
Nilesh Jadhav
Nilesh Jadhav - avatar
0
You can use only if user
16th Jul 2020, 5:31 AM
Nilesh Jadhav
Nilesh Jadhav - avatar