From 430b6cb82a3934c5a252cd8c4d4365f230a36b1a Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 31 Mar 2015 01:41:03 +0100 Subject: [PATCH] Added first & last name fields to registration form --- RIGS/forms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RIGS/forms.py b/RIGS/forms.py index b339003e..3d393bb2 100644 --- a/RIGS/forms.py +++ b/RIGS/forms.py @@ -10,6 +10,8 @@ from RIGS import models #Registration class ProfileRegistrationFormUniqueEmail(RegistrationFormUniqueEmail): + first_name = forms.CharField(required=False, max_length=50) + last_name = forms.CharField(required=False, max_length=50) initials = forms.CharField(required=True, max_length=5) phone = forms.CharField(required=False, max_length=13)