joeni

0020_auto_20180410_1652.py

1
# Generated by Django 2.0b1 on 2018-04-10 16:52
2
3
import django.core.validators
4
from django.db import migrations, models
5
6
7
class Migration(migrations.Migration):
8
9
    dependencies = [
10
        ('administration', '0019_auto_20180306_1317'),
11
    ]
12
13
    operations = [
14
        migrations.AlterField(
15
            model_name='courseresult',
16
            name='first_score',
17
            field=models.PositiveSmallIntegerField(blank=True, null=True, validators=[django.core.validators.MaxValueValidator(20, "The score mustn't be higher than 20.")]),
18
        ),
19
        migrations.AlterField(
20
            model_name='courseresult',
21
            name='result',
22
            field=models.CharField(choices=[('CRED', 'Credit acquired'), ('FAIL', 'Credit not acquired'), ('TLRD', 'Tolerated'), ('ITLR', 'Tolerance used'), ('BDRG', 'Fraud committed'), ('VRST', 'Exemption'), ('STOP', 'Course cancelled')], help_text='The final result this record constitutes.', max_length=10),
23
        ),
24
        migrations.AlterField(
25
            model_name='courseresult',
26
            name='second_score',
27
            field=models.PositiveSmallIntegerField(blank=True, null=True, validators=[django.core.validators.MaxValueValidator(20, "The score mustn't be higher than 20.")]),
28
        ),
29
        migrations.AlterField(
30
            model_name='curriculum',
31
            name='year',
32
            field=models.PositiveIntegerField(default=2018, help_text='The academic year for which this curriculum is. If this field is equal to 2008, then that means this curriculum is for the academic year 2008-2009.'),
33
        ),
34
    ]
35