Custom Django User Registration Form (Django Tutorial) | Part 16

preview_player
Показать описание
Enjoyed my video? Leave a like!
Рекомендации по теме
Комментарии
Автор

i was having bug in adding email field in my site from 3months.Now after seeing your video i when coded i finally work...thanks for this video and keep making more video like this

akshatsrivastava
Автор

how can we add an another field 'age' inside the given user model itself ?

santhanselvaraj
Автор

hi Max!!! Thank you very much for your Django Tutorials!! I have learned so much in one day, that I feel like I can set up my own website within a month's time

I have a comment in regard to the cleaned_data object …. Im not really sure if it has got to with the Django version, but just giving the object name gives me an attribute error. Instead, when I specify as self.cleaned_data['first_name'], it works perfectly...

Could you explain, why in your case the function works without the self?

vasishtakanthi
Автор

Could I change the language for example, to spanish, of all those help messages if I wanted?

eneko
Автор

How can i add an email confirmation mechanism in the registration form.?

rajeshsahoo
Автор

Hi Max, firstly I want to thank you for the extensive how-to’s. Secondly I’d like to ask whether there was a specific reason you typed accounts.forms instead of .forms? For example is this better for overall code or it doesn’t really make much of a difference?

oliviervandurme
Автор

Nice work. One Question. You have added only those fields that were already present in the django.contrib.auth.models.User, what if I wanted to use an addrese or a phone no. field. How would i accomplish that? Thanks

amiaynarayan
Автор

how the commit is changed to True when in the function def save() in the first line we change it to commit=False ???

basti
Автор

what if i want to add other Data not in the user model like(address or phone number)? i try butt faild

youssefelbieh
Автор

Hello there, i'd like to ask if we can save the new fields by using OneToOneField inheriting the User model? Please reply

abdullahatif
Автор

How do I create my own fields like phone number, gender etc in User model itself?

animeshtimsina
Автор

Hi MAx

Why are we assigning model = user ar 6:45.I am bit confused.Can you please help me in this

learningtech
Автор

What does the 'return user' line do?

PlaneToTheBrainES
Автор

It is showing 'WSGIRequest' objects has no attribute 'get'.... What should I do??

sanjeevsinghrajput
Автор

Hello Max, your tutorials are very helpful for me, Thank you!
But, I have a question, Can i add birthday field in the registration form?

shrikrishnasingh
Автор

Hi, Max. Your lectures are just amazing and so useful. It would be so cool if you could tell how to change /edit that "help text" in the form.

tautvydasstiga
Автор

max please reply
if i don't pass commit=True in method
and simply without checking commit==True write user.save()
what will be the difference?
because it will be always True as we in save function we are making it statically true

pawanbhatt
Автор

What if i got error "Cannot force an update in save() with no primary key"?

jafaghalemya
Автор

When i click on the submit button, information are not storing to the database.

powerpointdesigner
Автор

i extended User like you showed by OnetoOneField so how do i create registration form for such UserProfile? and save that data?

dheerajItIs