You are the best bro. Thanks for this. I tried using "add_fields", "fields" and "list_display" but none of them worked. I was very frustrated untill I found your video and it helped me in the exact way I wanted. Thanks very much.
Hi Jim! Quick question: When I create other Models and want to reference the User/Account model as a foreign key, what/how should I reference the correct model?
Nice Tips to make user profile model! I ve done a custom user by overriding from AbstractBaseUser and PermissionsMixins, all works fine, meant first migrations and altering db_table_name. But when I tried to add fields like gender, python makemigrations see No changes, any idea?
Hey Jim, very appreciate for making this video, it dose help me a lot! One question : The strategy you use here is to create a new model "Account" and make a relationship to exist model "User", am I right ?
Thanks a lot. There are multiple ways to force users to add those pieces of info. 1) You have to use an input field in the HTML that will be configured as if this field is empty, then it will raise a warning after submitting the form (Almost all the forms in bootstrap configured in that way for username/password) 2) You can use django forms and write a validation for each form.
Hi Jim, great video! I am just wondering as I am building an e-commerce site, is Django a good choice for python, since I am only comfortable with python at this point? or should I switch to Java?
Hello dear JimShapedCoding. I followed your tutorial (it's awesome) but faced with a strange issue. The Account model is always blank while new users are being added. Users have the added fields but as I said Accounts section on django admin is always blank. How do I fix it? Thanks in advance and have a nice day!
Thanks a lot, can you share maybe the code on discord channel ? Maybe it's just a matter of some model name that needs to be fixed :) Thanks for following along my videos!!
Hello jimshapedcoding I've got a question. Is it possible to have one Django project with two apps and both having it's own user model for authentication?
Definitely that's what I said on my introduction :), this video is just the beginning. So chances are high that you are familiar with what I have done here, still, an important topic I don't see covered on each course.
More intermediate Django tutorials to come!
You can help me down below by sharing your ideas what to cover🔥
Maybe you should make a video about deployment and security of our websites, thx for your work
love ur way of explanation , and you hit the spot man , keep it up u deserve the best
You are the best bro. Thanks for this. I tried using "add_fields", "fields" and "list_display" but none of them worked. I was very frustrated untill I found your video and it helped me in the exact way I wanted. Thanks very much.
Hello! You are very welcome and I am happy this could help you out
Great video!! saved me a lot of time. Exactly what I needed
Perfect!
Ohhh thank you men, nice to see good videos about Django.
You are welcome. Feel free to share with friends that love to code!
I love this channel!
The channel loves you back :)
Glad you enjoy my content
You are Amazing Coder Thanks For Help Thanks Very very Much...!!!
Gr8 job bro, you deserve more than 20k sub
Yeh people say that a lot 😂 thanks bro!
Thanku so much bro. It actually help me lot. ♥️
Thannks a lot brother.. searching 2 days in stack overflow,youtubes to solve my solution.. finally found a video that could help me❤️🙌
Great to know that! ❤️
I liked your content
Thanks!
Thank you man. It was really helpful
You're welcome! Hope you'll watch more of my videos as well
I was looking for this exact scenario, Thank you.
Perfect, it's a common situation in Django that you want to know how to handle for sure. Glad it helped you out!
@@jimshapedcoding but i tried to implement this in my views by including the extra field in my form it was not added, any thoughts? Tnx
Bro this is so helpful, thanks!
Glad to hear it!
You da man ! 💪🏼
Thanks bro
Sir pls we want some more django courses
After finishing python OOP pls consider making a big django course
How can we display the custom fields value in the templates?
so helpful! thanks!
Sure no problem! :)
how can I make custom validation on the form ?
How to add data from views to custom field
how to override the singup page with this extended user model(Account)
thanks ,❤❤❤
Hi Jim! Quick question: When I create other Models and want to reference the User/Account model as a foreign key, what/how should I reference the correct model?
Wonder the same. Have you figured it out ?
Bro, Could you tell me that How to store value to the extended fields through Views.py file
Do a video for django ORM too
thank you this was really helpful, how would i create model forms based on this ?
Glad it helped!
I also have tutorials how to create the models :)
Sir show a video how to create a django project in pycharm without using virtual environment..
Nice Tips to make user profile model!
I ve done a custom user by overriding from AbstractBaseUser and PermissionsMixins, all works fine, meant first migrations and altering db_table_name.
But when I tried to add fields like gender, python makemigrations see No changes, any idea?
Thanks!
Maybe worth to check it is still written inside the INSTALLED_APPS in the settings.py ?
@@jimshapedcoding thanks for that... my bad, I wasn't seeing that I left a trailing comma which makes it tuple!
Thank you Jim. I was looking for this. It helped me to fix my problems. Can we use ckeditor in admin page?
You are welcome. I think you can!
Hey Jim, very appreciate for making this video, it dose help me a lot! One question : The strategy you use here is to create a new model "Account" and make a relationship to exist model "User", am I right ?
Hey! Yes exactly. I am very glad you enjoyed the video :)
This was nice, thanks! How can I now make a registeration form that forces the new user to add bd and gender while creating new user?
Thanks a lot. There are multiple ways to force users to add those pieces of info.
1) You have to use an input field in the HTML that will be configured as if this field is empty, then it will raise a warning after submitting the form (Almost all the forms in bootstrap configured in that way for username/password)
2) You can use django forms and write a validation for each form.
Hi Jim, great video! I am just wondering as I am building an e-commerce site, is Django a good choice for python, since I am only comfortable with python at this point? or should I switch to Java?
Hi, thanks!
I think Django is a wonderful option to go with. Good luck
Hello dear JimShapedCoding. I followed your tutorial (it's awesome) but faced with a strange issue. The Account model is always blank while new users are being added. Users have the added fields but as I said Accounts section on django admin is always blank. How do I fix it? Thanks in advance and have a nice day!
Thanks a lot, can you share maybe the code on discord channel ? Maybe it's just a matter of some model name that needs to be fixed :) Thanks for following along my videos!!
@@jimshapedcoding Thank you so much I did fix the issue. Didn't figure out what was the actual mistake but who cares it works lol
@@ZIRRAMA how did you fix this issue?!
Hello jimshapedcoding I've got a question. Is it possible to have one Django project with two apps and both having it's own user model for authentication?
Hey Kelvin, thanks for raising the question on our Discord community, hope you found there my opinion about it :)
@@jimshapedcoding for those who don’t have discord, what was your opinion?
It had better if you make advanced videos about django . Because tutorials on youtube are usually for beginners .
Definitely that's what I said on my introduction :), this video is just the beginning. So chances are high that you are familiar with what I have done here, still, an important topic I don't see covered on each course.
Thanks, It help me a lot! I have a question: If I wanna creating a user registration form using this fields, how would I do it?
No problem at all! You can watch my Django tutorial on my channel as I explain this :)