mirror of
https://github.com/lemeow125/DocManagerBackend.git
synced 2025-04-28 02:31:23 +08:00
Move sex and age fields from questionnaire to user and add planning role restrictions
This commit is contained in:
parent
724132e396
commit
e0eba6ca21
25 changed files with 157 additions and 320 deletions
|
@ -1,4 +1,4 @@
|
|||
# Generated by Django 5.1.3 on 2024-11-23 17:01
|
||||
# Generated by Django 5.1.3 on 2024-12-03 16:27
|
||||
|
||||
import django.contrib.auth.models
|
||||
import django.contrib.auth.validators
|
||||
|
@ -106,6 +106,13 @@ class Migration(migrations.Migration):
|
|||
default=django.utils.timezone.now, editable=False
|
||||
),
|
||||
),
|
||||
(
|
||||
"sex",
|
||||
models.CharField(
|
||||
choices=[("male", "Male"), ("female", "Female")], max_length=32
|
||||
),
|
||||
),
|
||||
("birthday", models.DateField()),
|
||||
(
|
||||
"groups",
|
||||
models.ManyToManyField(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue