~sirodoht/mataroa

85fede93239589626fb538eeeb65cea3856a49b6 — Theodore Keloglou 16 days ago e6f4cf9
fix validator message to be inclusive all fields
1 files changed, 1 insertions(+), 1 deletions(-)

M main/validators.py
M main/validators.py => main/validators.py +1 -1
@@ 4,7 4,7 @@ from django.core.exceptions import ValidationError

class AlphanumericHyphenValidator(dj_validators.RegexValidator):
    regex = r"^[a-z\d-]+\Z"
    message = "Enter a valid username, it should include only lowercase letters, numbers, and -"
    message = "Invalid value. Should include only lowercase letters, numbers, and -"
    flags = 0