Remove an erroneous RegistrationUserForm
This form appeared twice in `cof/forms.py` and the second occurrence (which was used by the views) was erroneous.
This commit is contained in:
parent
7abcf28666
commit
6c34742cc4
1 changed files with 1 additions and 7 deletions
|
@ -185,7 +185,7 @@ class RegistrationUserForm(forms.ModelForm):
|
|||
|
||||
class Meta:
|
||||
model = User
|
||||
fields = ("username", "first_name", "last_name", "email")
|
||||
fields = ["username", "first_name", "last_name", "email"]
|
||||
|
||||
|
||||
class RegistrationPassUserForm(RegistrationUserForm):
|
||||
|
@ -250,12 +250,6 @@ class RegistrationProfileForm(forms.ModelForm):
|
|||
]
|
||||
|
||||
|
||||
class RegistrationUserForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = User
|
||||
fields = ["first_name", "last_name"]
|
||||
|
||||
|
||||
STATUS_CHOICES = (('no', 'Non'),
|
||||
('wait', 'Oui mais attente paiement'),
|
||||
('paid', 'Oui payé'),)
|
||||
|
|
Loading…
Reference in a new issue