Fix username validator

Tehee, oops!
This commit is contained in:
TheAMM 2017-05-26 01:47:05 +03:00
parent 3f49f17baa
commit b6ecad898d
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class Unique(object):
_username_validator = Regexp(
r'[a-zA-Z0-9_\-]+',
r'^[a-zA-Z0-9_\-]+$',
message='Your username must only consist of alphanumerics and _- (a-zA-Z0-9_-)')