mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
pedagogy: create view and form for UV
WARNING: A new group has been created, to be set by the infra team at deployment !!!
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.20 on 2019-06-15 12:13
|
||||
# Generated by Django 1.11.20 on 2019-06-15 15:00
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.conf import settings
|
||||
@ -76,9 +76,11 @@ class Migration(migrations.Migration):
|
||||
("FREE", "Free"),
|
||||
("CS", "CS"),
|
||||
("TM", "TM"),
|
||||
("OM", "OM"),
|
||||
("QC", "QC"),
|
||||
("EC", "EC"),
|
||||
("CG", "CG"),
|
||||
("RN", "RN"),
|
||||
("ST", "ST"),
|
||||
("EXT", "EXT"),
|
||||
],
|
||||
default="FREE",
|
||||
@ -96,7 +98,7 @@ class Migration(migrations.Migration):
|
||||
("AUTOMN_AND_SPRING", "Autumn and spring"),
|
||||
],
|
||||
default="CLOSED",
|
||||
max_length=10,
|
||||
max_length=20,
|
||||
verbose_name="semester",
|
||||
),
|
||||
),
|
||||
@ -129,10 +131,11 @@ class Migration(migrations.Migration):
|
||||
("objectives", models.TextField(verbose_name="objectives")),
|
||||
("program", models.TextField(verbose_name="program")),
|
||||
("skills", models.TextField(verbose_name="skills")),
|
||||
("key_concepts", models.TextField(verbose_name="key_concepts")),
|
||||
("key_concepts", models.TextField(verbose_name="key concepts")),
|
||||
(
|
||||
"hours_CM",
|
||||
models.IntegerField(
|
||||
default=0,
|
||||
validators=[django.core.validators.MinValueValidator(0)],
|
||||
verbose_name="hours CM",
|
||||
),
|
||||
@ -140,6 +143,7 @@ class Migration(migrations.Migration):
|
||||
(
|
||||
"hours_TD",
|
||||
models.IntegerField(
|
||||
default=0,
|
||||
validators=[django.core.validators.MinValueValidator(0)],
|
||||
verbose_name="hours TD",
|
||||
),
|
||||
@ -147,6 +151,7 @@ class Migration(migrations.Migration):
|
||||
(
|
||||
"hours_TP",
|
||||
models.IntegerField(
|
||||
default=0,
|
||||
validators=[django.core.validators.MinValueValidator(0)],
|
||||
verbose_name="hours TP",
|
||||
),
|
||||
@ -154,6 +159,7 @@ class Migration(migrations.Migration):
|
||||
(
|
||||
"hours_THE",
|
||||
models.IntegerField(
|
||||
default=0,
|
||||
validators=[django.core.validators.MinValueValidator(0)],
|
||||
verbose_name="hours THE",
|
||||
),
|
||||
@ -161,6 +167,7 @@ class Migration(migrations.Migration):
|
||||
(
|
||||
"hours_TE",
|
||||
models.IntegerField(
|
||||
default=0,
|
||||
validators=[django.core.validators.MinValueValidator(0)],
|
||||
verbose_name="hours TE",
|
||||
),
|
||||
@ -171,18 +178,7 @@ class Migration(migrations.Migration):
|
||||
on_delete=django.db.models.deletion.CASCADE,
|
||||
related_name="created_UVs",
|
||||
to=settings.AUTH_USER_MODEL,
|
||||
verbose_name="created UVs",
|
||||
),
|
||||
),
|
||||
(
|
||||
"moderator",
|
||||
models.ForeignKey(
|
||||
blank=True,
|
||||
null=True,
|
||||
on_delete=django.db.models.deletion.CASCADE,
|
||||
related_name="moderated_UVs",
|
||||
to=settings.AUTH_USER_MODEL,
|
||||
verbose_name="moderated UVs",
|
||||
verbose_name="author",
|
||||
),
|
||||
),
|
||||
],
|
||||
|
Reference in New Issue
Block a user