Extended Course.public to 100 chars
This commit is contained in:
parent
e78739fe64
commit
815923e047
2 changed files with 17 additions and 1 deletions
16
stages/migrations/0023_course_public_length.py
Normal file
16
stages/migrations/0023_course_public_length.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stages', '0022_corporation_unique_name_and_city'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='course',
|
||||
name='public',
|
||||
field=models.CharField(default='', max_length=100, verbose_name='Classe(s)'),
|
||||
),
|
||||
]
|
||||
|
|
@ -381,7 +381,7 @@ class Course(models.Model):
|
|||
"""Cours et mandats attribués aux enseignants"""
|
||||
teacher = models.ForeignKey(Teacher, blank=True, null=True,
|
||||
verbose_name="Enseignant-e", on_delete=models.SET_NULL)
|
||||
public = models.CharField("Classe(s)", max_length=40, default='')
|
||||
public = models.CharField("Classe(s)", max_length=100, default='')
|
||||
subject = models.CharField("Sujet", max_length=100, default='')
|
||||
period = models.IntegerField("Nb de périodes", default=0)
|
||||
# Imputation comptable: compte dans lequel les frais du cours seront imputés
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue