start auth apis and packages, redis, celery and run with docker
This commit is contained in:
6
core/apps/accounts/validators/user.py
Normal file
6
core/apps/accounts/validators/user.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.core.validators import RegexValidator
|
||||
|
||||
phone_regex = RegexValidator(
|
||||
regex=r'^\+998\d{9}$',
|
||||
message="Telefon raqam formatda bo'lishi kerak: +998XXXXXXXXX"
|
||||
)
|
||||
Reference in New Issue
Block a user