fix(users): require mobile for superuser creation
Some checks failed
Backend CI/CD / test (push) Has been cancelled
Backend CI/CD / deploy (push) Has been cancelled

This commit is contained in:
2026-06-11 21:20:59 +03:30
parent 13ea129d3a
commit 41f9be4c7e
3 changed files with 49 additions and 7 deletions

View File

@@ -0,0 +1,18 @@
import apps.users.models
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("users", "0007_user_is_mobile_verified_user_mobile_alter_user_email_and_more"),
]
operations = [
migrations.AlterModelManagers(
name="user",
managers=[
("objects", apps.users.models.UserManager()),
],
),
]