Первоначальный залив проекта
This commit is contained in:
25
retraining/main/migrations/0043_access_lists.py
Normal file
25
retraining/main/migrations/0043_access_lists.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# Generated by Django 4.1.1 on 2023-04-14 14:13
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('main', '0042_orders_template'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Access_lists',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('registration_date', models.DateField(verbose_name='от')),
|
||||
('students', models.ManyToManyField(blank=True, to='main.contracts', verbose_name='Студенты')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Пропуск',
|
||||
'verbose_name_plural': 'Пропуски',
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user