- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5
Open
Labels
Description
Detailed Description
When a student is signing up the form should check whether the provided username is valid.
Context
This change will reduce the number of usernames submitted which contain typo's. It will also verify that the username provided isn't an arbitrary string.
Possible Implementation
Validating of user input into forms is done within forms.py. Usage of RegEx is preferred over manual string parsing. If an invalid username is provided then the form should raise a ValidationError.
Example of valid usernames:
- mz4315
- abc13
- xy12315
- ab117
Example of invalid usernames:
- a1216
- abcf16
- a1b17
- ab1210