Python Django - How to add custom fields to the User Model ?

preview_player
Показать описание
#Django #Python #UserModel #DjangoUsers

🔥 Welcome to the Django for Everyone Playlist! This series of videos, will cover intermediate Django topics to help you to create robust web applications on your portfolio! So if you want to have great projects on your portfolio, then be sure to watch this playlist!

👍This video is about extending the built-in User Model in Django. You might want to include some more fields that will describe your users on your web application. This is the video you should watch if you want to do it!

Connect with me with:

Code from Github:

🎥 My YouTube Gear 🎥

Timeline for the video:
00:00 - 03:01 - Introduction&The project we will work on
03:02 - 05:03 - Extending vs Custom Model
05:04 - 11:30 - Migrate a new model
11:31 - 24:30 - Custom registration in Admin panel
24:31 - 26:09 - Other options / Final thoughts
Рекомендации по теме
Комментарии
Автор

More intermediate Django tutorials to come!
You can help me down below by sharing your ideas what to cover🔥

jimshapedcoding
Автор

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.

mrtherapy
Автор

Great video!! saved me a lot of time. Exactly what I needed

evsslv
Автор

Ohhh thank you men, nice to see good videos about Django.

julenxiri
Автор

Thanku so much bro. It actually help me lot. ♥️

destroyer
Автор

You are Amazing Coder Thanks For Help Thanks Very very Much...!!!

rushwansayyed
Автор

I was looking for this exact scenario, Thank you.

androidmod
Автор

Thannks a lot brother.. searching 2 days in stack overflow, youtubes to solve my solution.. finally found a video that could help me❤️🙌

dineshcuts
Автор

Gr8 job bro, you deserve more than 20k sub

OriginalCodeMaster
Автор

How can we display the custom fields value in the templates?

aayushsingh
Автор

how can I make custom validation on the form ?

ahmedsalah
Автор

how to override the singup page with this extended user model(Account)

rahulverma-hpft
Автор

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?

KazuyaMishima
Автор

Bro, Could you tell me that How to store value to the extended fields through Views.py file

anandhavelp
Автор

Thank you Jim. I was looking for this. It helped me to fix my problems. Can we use ckeditor in admin page?

xSmHbRtCx
Автор

thank you this was really helpful, how would i create model forms based on this ?

shubhamjani
Автор

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?

teemujulkunen
Автор

Sir pls we want some more django courses
After finishing python OOP pls consider making a big django course

techwithrg
Автор

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?

mista_ia
Автор

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?

JJ-otps