Skip to content

Commit

Permalink
fix the error message for the invalid username
Browse files Browse the repository at this point in the history
  • Loading branch information
kimakan committed Jul 12, 2023
1 parent 687ff2d commit c6c5152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daiquiri/auth/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class DaiquiriUsernameValidator(validators.RegexValidator):
'''
regex = r'^[a-z0-9_]+\Z'
message = _(
'Enter a valid username. This value may contain only English small letters, '
'numbers, and the underscore.'
'Enter a valid username. This value may contain only English lowercase letters, '
'numbers, and underscores.'
)
flags = re.ASCII

Expand Down

0 comments on commit c6c5152

Please sign in to comment.