▶ Watch Django Wednesdays Ecommerce Playlist ✅ Subscribe To My TH-cam Channel: bit.ly/3OBQJfN bit.ly/2IGzvOR ▶ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take 50% off with coupon code: youtube50 bit.ly/2VC9WUN ▶ Get The Code bit.ly/47xAhWJ
@@onkarsawant1004 you don't. You can't add things to the user model. You can add it to another model and then associate it with a foreign key, in the way we added all the user stuff.
whenever I try to register a new account, it returns a csrf middleware token in the terminal and no validation checks are performed and even if all fields are valid, the user isn't added to the database
@@Codemycom But I noticed another issue, I made a dashboard template that the user is redirected to after logging in (which works), however, the navbar does not update to give the 'logout' option.
@@Codemycom register feature should be for a normal customer so data should go into the customer table if I understand correctly. and love your videos I started following you after seeing your video on freecodecamp. learned a lot
@@Codemycom Sorry I mean Users, register functionality should be for normal customers to register themselves right, if Customer data were going to be stored in Users then what is the use of the Customer table?
I am not able to regitser new user the if part conditons in views.py of register_user is not executed for me only else part is executed .can you help me to resolve the error
@@Codemycom I already did . Even I had checked your source code in git hub and I found that you had given key for password as password1 but in video you are giving it as password. For me it's saying key error for that password but I have given the same that you had given in this video . Also for me the user is registered from that form but not redirected instead its saying key error.when I checked the admin panel the registered user is there. How can I solve this it's saying something wrong with that password key?
▶ Watch Django Wednesdays Ecommerce Playlist ✅ Subscribe To My TH-cam Channel:
bit.ly/3OBQJfN bit.ly/2IGzvOR
▶ See More At: ✅ Join My Facebook Group:
Codemy.com bit.ly/2GFmOBz
▶ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
Take 50% off with coupon code: youtube50 bit.ly/2VC9WUN
▶ Get The Code
bit.ly/47xAhWJ
one of the best django series!!
thanks!
thanks!
Could we get a video on how to get user phone number in our user model directly?
@@onkarsawant1004 you don't. You can't add things to the user model. You can add it to another model and then associate it with a foreign key, in the way we added all the user stuff.
What a great class, I learned a lot, let's move on🚀
I have been waiting for this the whole week. I can't believe the next tutorial is next week 😪😪
🙂
Thanks!
7th & 8th videos helped me a lot with Authentication.
Glad it helped!
Thank you, i just finished #8
Groovy
Great video John as always... Ill wait for more:) Do we have any idea what the next video will be expanding on ? Just curious lol
Product pages :-p
Hi don't you think Djoser library better?
am actually building a website using this tutorial
Happy to hear it
This is awesome!!
thank you!
There are how many ways of creating a login, logout and registration system in django and which is the most preffered ?
Whichever works for your situation...why wouldn't you just use the default system built into Django?
It is worth tutorial for me. I have a question. how can I add telephone number field to registration form?
You have to extend the user registration model...we'll be discussing this soon.
Good tutorial, thanks a lot!
welcome!
hi professor
this course very excellent
How can I access this project? in github
I explain that at the beginning of every video
Excelent!
Thanks!
whenever I try to register a new account, it returns a csrf middleware token in the terminal and no validation checks are performed and even if all fields are valid, the user isn't added to the database
Sounds like you forgot to add the csrf token to the form code
@@Codemycom I added that already, it turns out, I misspelt 'method' in the form tag. Thanks for your help
@@Codemycom But I noticed another issue, I made a dashboard template that the user is redirected to after logging in (which works), however, the navbar does not update to give the 'logout' option.
@@infinitespace1982 then you typed the navbar logic incorrectly
Hy....ur video is very useful.then you can upload fast🤓 because we are waiting...
They come out once per week on Wednesday, hence the name.
hey jhon having someproblems with Exception Type: MultiValueDictKeyError
Exception Value:
'password' when i hit register
Rewatch the video and check your code to discover what you typed wrong
Thank you very much
Welcome
I am having MultiValueDictKeyError at login_user password. Can you please help me to resolve it?
brilliant
thanks!
shouldn't registration be for customers and data should be in the customer table not in the admin table, I'm confused.
please someone answer me.
There is no admin table...I think you're confused
@@Codemycom sorry i mean Users
@@Codemycom register feature should be for a normal customer so data should go into the customer table if I understand correctly. and love your videos I started following you after seeing your video on freecodecamp. learned a lot
@@Codemycom Sorry I mean Users, register functionality should be for normal customers to register themselves right, if Customer data were going to be stored in Users then what is the use of the Customer table?
Hi, do we write password for our email or for username
The video shows you
Can you do multiple user model?
What do you mean? This handles multiple users.
Will this project be completed this month
Most definitely not...nowhere close.
'str' object has no attribute 'get_bound_field'...............i am recieving this error while clicking on signup button
can u help me pls
you'll have to check your code vs the video and discover what you did differently.
some typing mistakes.thanks alot sir for your reply
🙂
@@RittaRamachandran ah yeah, that’s usually the case. Glad you got it sorted out.
ValueError: The User could not be created because the data didn't validate....
error is this.. any suggestion sir?
happend to me also!
the problem for me was i wrote "if form.is_valid" instead of "if form.is_valid()"
Rewatch the video to discover what you did differently
i need your github
It's in the pinned comment, as always
I am not able to regitser new user the if part conditons in views.py of register_user is not executed
for me only else part is executed .can you help me to resolve the error
compare your code to the video and discover what error you made when typing it.
@@Codemycom I already did . Even I had checked your source code in git hub and I found that you had given key for password as password1 but in video you are giving it as password. For me it's saying key error for that password but I have given the same that you had given in this video . Also for me the user is registered from that form but not redirected instead its saying key error.when I checked the admin panel the registered user is there. How can I solve this it's saying something wrong with that password key?
@@amel_.s No, it's passoword1 in one place and password in another. The code has to be exactly as in the video.