2018-05-22 10:13:51 +02:00
|
|
|
# Generated by Django 2.0.5 on 2018-05-22 07:34
|
|
|
|
|
|
|
|
import django.db.models.deletion
|
2021-07-10 12:11:58 +02:00
|
|
|
from django.db import migrations, models
|
2018-05-22 10:13:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2021-07-10 12:11:58 +02:00
|
|
|
("manuels", "0004_auto_20180522_0148"),
|
2018-05-22 10:13:51 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2021-07-10 12:11:58 +02:00
|
|
|
name="SuppliesRequirement",
|
2018-05-22 10:13:51 +02:00
|
|
|
fields=[
|
2021-07-10 12:11:58 +02:00
|
|
|
(
|
|
|
|
"id",
|
|
|
|
models.AutoField(
|
|
|
|
auto_created=True,
|
|
|
|
primary_key=True,
|
|
|
|
serialize=False,
|
|
|
|
verbose_name="ID",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"created_at",
|
|
|
|
models.DateTimeField(auto_now_add=True, verbose_name="créé le"),
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"updated_at",
|
|
|
|
models.DateTimeField(auto_now=True, verbose_name="mis à jour le"),
|
|
|
|
),
|
|
|
|
("supplies", models.TextField(verbose_name="fournitures")),
|
|
|
|
(
|
|
|
|
"level",
|
|
|
|
models.ForeignKey(
|
|
|
|
null=True,
|
|
|
|
on_delete=django.db.models.deletion.SET_NULL,
|
|
|
|
to="manuels.Level",
|
|
|
|
verbose_name="classe",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"teacher",
|
|
|
|
models.ForeignKey(
|
|
|
|
null=True,
|
|
|
|
on_delete=django.db.models.deletion.SET_NULL,
|
|
|
|
to="manuels.Teacher",
|
|
|
|
verbose_name="enseignant",
|
|
|
|
),
|
|
|
|
),
|
2018-05-22 10:13:51 +02:00
|
|
|
],
|
|
|
|
options={
|
2021-07-10 12:11:58 +02:00
|
|
|
"verbose_name": "demande de fournitures",
|
|
|
|
"verbose_name_plural": "demandes de fournitures",
|
2018-05-22 10:13:51 +02:00
|
|
|
},
|
|
|
|
),
|
|
|
|
]
|