mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-20 21:46:04 -05:00
feat: approve users, edit users through manage users page (#1383)
This commit is contained in:
17
users/migrations/0002_user_is_approved.py
Normal file
17
users/migrations/0002_user_is_approved.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 5.1.6 on 2025-09-19 14:49
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
('users', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='is_approved',
|
||||
field=models.BooleanField(blank=True, db_index=True, default=False, null=True, verbose_name='Is approved'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user