0013_auto_20180204_1444.py
1 |
|
2 |
|
3 |
from django.conf import settings |
4 |
from django.db import migrations, models |
5 |
import django.db.models.deletion |
6 |
|
7 |
|
8 |
class Migration(migrations.Migration): |
9 |
|
10 |
dependencies = [ |
11 |
('administration', '0012_auto_20180204_1349'), |
12 |
] |
13 |
|
14 |
operations = [ |
15 |
migrations.AlterModelOptions( |
16 |
name='educationdepartmentmessages', |
17 |
options={'verbose_name': 'Message of the education department', 'verbose_name_plural': 'Messages of the education department'}, |
18 |
), |
19 |
migrations.AlterField( |
20 |
model_name='courseevent', |
21 |
name='group', |
22 |
field=models.ForeignKey(blank=True, help_text="Some courses have multiple groups. If that's the case, and this event is only for a specific group, then that group must be referenced here.", null=True, on_delete=django.db.models.deletion.CASCADE, to='courses.CourseGroup'), |
23 |
), |
24 |
migrations.AlterField( |
25 |
model_name='curriculum', |
26 |
name='student', |
27 |
field=models.ForeignKey(limit_choices_to={'groups': 1}, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, unique_for_year='year'), |
28 |
), |
29 |
] |
30 |