Add is_admin field to User model and update related serializers and views
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m37s

This commit is contained in:
2025-06-09 13:28:57 +05:00
parent 7e2f6699b1
commit 69ab87f502
6 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,17 @@
# Generated by Django 5.2 on 2025-06-09 06:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("api", "0015_user_created_at_user_updated_at_temporaryuser"),
]
operations = [
migrations.AddField(
model_name="user",
name="is_admin",
field=models.BooleanField(default=False),
),
]