mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
pedagogy: simplify and implement department system according to old database model
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.20 on 2019-06-17 16:08
|
||||
# Generated by Django 1.11.20 on 2019-06-18 08:52
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.conf import settings
|
||||
@ -15,34 +15,6 @@ class Migration(migrations.Migration):
|
||||
dependencies = [migrations.swappable_dependency(settings.AUTH_USER_MODEL)]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name="EducationDepartment",
|
||||
fields=[
|
||||
(
|
||||
"id",
|
||||
models.AutoField(
|
||||
auto_created=True,
|
||||
primary_key=True,
|
||||
serialize=False,
|
||||
verbose_name="ID",
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name="StudyField",
|
||||
fields=[
|
||||
(
|
||||
"id",
|
||||
models.AutoField(
|
||||
auto_created=True,
|
||||
primary_key=True,
|
||||
serialize=False,
|
||||
verbose_name="ID",
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name="UV",
|
||||
fields=[
|
||||
@ -123,6 +95,29 @@ class Migration(migrations.Migration):
|
||||
verbose_name="credits",
|
||||
),
|
||||
),
|
||||
(
|
||||
"department",
|
||||
models.CharField(
|
||||
choices=[
|
||||
("TC", "TC"),
|
||||
("IMSI", "IMSI"),
|
||||
("IMAP", "IMAP"),
|
||||
("INFO", "INFO"),
|
||||
("GI", "GI"),
|
||||
("E", "E"),
|
||||
("EE", "EE"),
|
||||
("GESC", "GESC"),
|
||||
("GMC", "GMC"),
|
||||
("MC", "MC"),
|
||||
("EDIM", "EDIM"),
|
||||
("HUMA", "Humanities"),
|
||||
("NA", "N/A"),
|
||||
],
|
||||
default="NA",
|
||||
max_length=10,
|
||||
verbose_name="departmenmt",
|
||||
),
|
||||
),
|
||||
("title", models.CharField(max_length=300, verbose_name="title")),
|
||||
(
|
||||
"manager",
|
||||
|
Reference in New Issue
Block a user