How To Add Fields To Registration Form - Django Blog #20

preview_player
Показать описание
In this video I'll show you how to extend your registration form to add more fields to our blog.

The Django Auth system's User model already keeps track of first_name, last_name, and email address (as well as username and password) but our registration form doesn't ask for those first and last names or email addresses.

In this video I'll show you how to add them!
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Django Blog Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:

Codemycom
Автор

Gracias profe, saludos desde Bucaramanga - Colombia

jorgebalagueraespinosa
Автор

Hi John, will be great if there is a video on how to extend the registration fields! or how to link different models. Great vids as usual

teekumar
Автор

Enjoying tutorial with great teacher, I think it should be Django Blog #20

mtrkhan
Автор

Nice one John. Great stuff as always! One useful thing woud be to make all the new post come to the top. Currently all posts on the same day will be in the wrong order.. Perhaps good to sort by time as opposed to date?
Side note 1: I soon will no longer need to pay for a monthly fee for my wedding website (duda.com) so I am very greatful for that saving and will sign up to Codemy.com in thanks!
Side note 2: this should be #20 ;)

robh
Автор

You are saying that we can add mobile no, etc that where that value will be store because user model doesn't have such fields.

alokraj
Автор

if you're using a new version of django or python don't forget to add s to attr :
= 'form-control'
I spent a whole fucking hour to figure out where the problem was.

airrloww
Автор

Thank for this video. Nice work you do.

devintaspharma
Автор

And another one dout sir, if we have country and city feild in drop-down Box, if we select America the cities of America should be displayed on next Dropdown box . If India is selected then Indian cities should show in another dropdown box .
AND how to grab details from the Radio Buttons . Please say sir

nagendranfriends
Автор

Hello! Thank you for the video! I was following your Django blog for a couple of days now, and almost built a great service that is not a blog :D
But, I have a question regarding the widgets. I used the traditional widgets = {} method and it seems like it works. What is the difference between this method and the one you showed in the video? Are there gonna be problems if I use the traditional method?

sigma
Автор

Thank you for the video John.

I have a question:
If I want to reuse data sent during the registration phase, how can I do that?

christopherspennato
Автор

Getting this error : (Hidden field author) Select a valid choice. That choice is not one of the available choices while adding post.. Any Help

sriramravi
Автор

why we can not write like that
in Meta class after fields
widget = [
]

osamaalaranji
Автор

i cant find answer, even tho im looking everywhere. what if i want to add birthday and add it to auth form too?

aexiliakanzawa
Автор

i AM GETTING AN ERROR 'str' object has no attribute 'get' can anyone help me with this?

nonlinear
Автор

The author chooses to add a post, but instead the person who logged in must add a post on his behalf. how to solve this problem

codewithabdulatif
Автор

Can somebody please tell me how does User model know that first_name is the attribute for its first name which it display in the admin section

ajay
Автор

I have this problem, cookies are enabled
What can be wrong?
Forbidden (403)

CSRF verification failed. Request aborted.

freeeagle
Автор

it's my humble request to John elder to make a video on roadmap of backend development for a begineer who just started his journey towards software development

randhirgupta
Автор

Hello there
I want create a registration form which has
First name
Last name
Age
Mobile number
Adress
Password 1
Password 2
And I want use email as username to login
How to do this ?
Help me any one

harinathvatti