homepage -> landing page
This commit is contained in:
@@ -578,6 +578,12 @@ class RegistrationForm(UserCreationForm):
|
||||
model = User
|
||||
fields = ("username", "first_name", "last_name", "email", "password1", "password2")
|
||||
|
||||
widgets = {
|
||||
'username': forms.TextInput(attrs={'autocomplete':'new-password'}),
|
||||
'password1': forms.PasswordInput(attrs={'autocomplete':'new-password'}),
|
||||
'password2': forms.PasswordInput(attrs={'autocomplete':'new-password'}),
|
||||
}
|
||||
|
||||
class RegistrationFormTermsOfService(RegistrationForm):
|
||||
"""
|
||||
Subclass of ``RegistrationForm`` which adds a required checkbox
|
||||
|
||||
Reference in New Issue
Block a user