mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Remove implicit fields as these are not needed in the form definition.
Passes all tests.
This commit is contained in:
@@ -12,10 +12,6 @@ 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)
|
|
||||||
phone = forms.CharField(required=False, max_length=13)
|
|
||||||
captcha = ReCaptchaField()
|
captcha = ReCaptchaField()
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|||||||
Reference in New Issue
Block a user