mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Merged in Registration-Profile-Names (pull request #2)
Added first & last name fields to registration form #43 Don't need to change the template for this. Woo for being lazy :P
This commit is contained in:
@@ -10,6 +10,8 @@ from RIGS import models
|
|||||||
|
|
||||||
#Registration
|
#Registration
|
||||||
class ProfileRegistrationFormUniqueEmail(RegistrationFormUniqueEmail):
|
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)
|
initials = forms.CharField(required=True, max_length=5)
|
||||||
phone = forms.CharField(required=False, max_length=13)
|
phone = forms.CharField(required=False, max_length=13)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user