mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 17:57:10 +00:00
add attachment managment and rewrite migrations
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Generated by Django 5.1.6 on 2025-03-02 10:28
|
||||
# Generated by Django 5.1.6 on 2025-03-02 21:24
|
||||
|
||||
import uuid
|
||||
from django.db import migrations, models
|
||||
@@ -9,6 +9,7 @@ class Migration(migrations.Migration):
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
('achievement', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
@@ -21,6 +22,7 @@ class Migration(migrations.Migration):
|
||||
('password', models.TextField(verbose_name='пароль')),
|
||||
('created_at', models.DateTimeField(auto_now=True)),
|
||||
('status', models.CharField(choices=[('student', 'Student'), ('metodist', 'Metodist')], default='student', max_length=10)),
|
||||
('achievements', models.ManyToManyField(blank=True, to='achievement.achievement', verbose_name='ачивки пользователя')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'пользователь',
|
||||
|
||||
Reference in New Issue
Block a user