mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-06-07 01:14:19 -04:00
fix: django connection settings (#1529)
This commit is contained in:
+2
-2
@@ -7,8 +7,8 @@ from django.utils.translation import gettext_lazy as _
|
||||
|
||||
@deconstructible
|
||||
class ASCIIUsernameValidator(validators.RegexValidator):
|
||||
regex = r"^[\w.@]+$"
|
||||
message = _("Enter a valid username. This value may contain only " "English letters and numbers")
|
||||
regex = r"^[\w.@-]+$"
|
||||
message = _("Enter a valid username. This value may contain only English letters, numbers, and '_', '.', '@', '-'.")
|
||||
flags = re.ASCII
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user