添加用户及角色过滤

This commit is contained in:
xie7654
2025-07-03 11:45:32 +08:00
parent 86bc64622f
commit ccb4536b37
11 changed files with 218 additions and 55 deletions

View File

@@ -1,4 +1,4 @@
# Generated by Django 5.2.1 on 2025-07-03 02:43
# Generated by Django 5.2.1 on 2025-07-03 03:44
import django.contrib.auth.models
import django.contrib.auth.validators
@@ -447,6 +447,12 @@ class Migration(migrations.Migration):
models.BooleanField(db_comment="是否软删除", default=False),
),
("name", models.CharField(max_length=100, verbose_name="角色名称")),
(
"code",
models.CharField(
blank=True, max_length=100, verbose_name="角色标识"
),
),
(
"status",
models.IntegerField(