Add fields to signup form

This commit is contained in:
Gabriel Augendre 2019-03-04 21:07:20 +01:00
parent 0d72d23fa8
commit 6abb55fa93

View file

@ -41,5 +41,9 @@ class LocationSharingForm(forms.ModelForm):
class FriendCreationForm(UserCreationForm):
class Meta(UserCreationForm.Meta):
model = Friend
fields = UserCreationForm.Meta.fields
fields = UserCreationForm.Meta.fields + (
'first_name',
'last_name',
'email',
)