From 6abb55fa939c3fccafc675338cf1ab2e59570a54 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 4 Mar 2019 21:07:20 +0100 Subject: [PATCH] Add fields to signup form --- map/forms.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/map/forms.py b/map/forms.py index 91184da..ac7c551 100644 --- a/map/forms.py +++ b/map/forms.py @@ -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', + )