Registering with Django

I am really confused how I can change registration_form

to ask users for their first and last name.
I think I need to manipulate the subclass RegistrationView

with registration.backends.simple.views

, but I don't know how to do this to show the first and last name in the registration form.

+3


source to share


1 answer


You should be able to subclass RegistrationForm and add the required fields.

Look at the default forms source for how to do this:



+2


source







All Articles