7 lines
361 B
Python
7 lines
361 B
Python
FORM_ERRORS = {
|
|
'REQUIRED': "This field is required.",
|
|
'PASSWORD_LENGTH': 'It must be at least 6 characters long.',
|
|
'VALID_EMAIL': 'Enter a valid email address.',
|
|
'PHONE_NUMBER_FORMAT': 'It can be prefixed with the "+" sign and may only contain numbers after it.',
|
|
'NAME_FORMAT': 'It must be at least 2 characters long, it may only contain letters.'
|
|
} |