Add fields to signup form
This commit is contained in:
parent
0d72d23fa8
commit
6abb55fa93
1 changed files with 5 additions and 1 deletions
|
@ -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',
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue