1 |
# Generated by Django 2.0b1 on 2018-02-04 13:49
|
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 |
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
12 |
('courses', '0004_auto_20180124_0049'), |
13 |
] |
14 |
|
15 |
operations = [ |
16 |
migrations.AddField( |
17 |
model_name='course', |
18 |
name='co_owners', |
19 |
field=models.ManyToManyField(blank=True, help_text='If applicable: The co-owners of this course.', limit_choices_to={'is_staff': True}, related_name='co_owners', to=settings.AUTH_USER_MODEL), |
20 |
), |
21 |
migrations.AlterField( |
22 |
model_name='course', |
23 |
name='color', |
24 |
field=models.CharField(default='E73B2B', help_text="The color for this course. Must be an hexadecimal code. Some standard colors if you don't know what to pick: <ul><li>0076BE: Faculty of Sciences / Blue</li><li>C0D633: Faculty of Transportation Sciences / Green</li><li>F4802D: Faculty of Architecture and Arts / Orange</li><li>00ACEE: Faculty of Business Economics / Turquoise</li><li>9C3591: Faculty of Medicine and Life Sciences / Purple</li><li>5BC4BA: Faculty of Engineering Technology / Light blue</li><li>E41F3A: Faculty of Law / Red</li></ul>", max_length=6), |
25 |
), |
26 |
migrations.AlterField( |
27 |
model_name='course', |
28 |
name='educating_team', |
29 |
field=models.ManyToManyField(blank=True, help_text='The remaining team members of this course.', limit_choices_to={'is_staff': True}, related_name='educating_team', to=settings.AUTH_USER_MODEL), |
30 |
), |
31 |
migrations.AlterField( |
32 |
model_name='prerequisite', |
33 |
name='ECTS_for_required_study', |
34 |
field=models.PositiveSmallIntegerField(blank=True, help_text='The amount of obtained ECTS points for the required course, if any.', null=True), |
35 |
), |
36 |
migrations.AlterField( |
37 |
model_name='prerequisite', |
38 |
name='in_curriculum', |
39 |
field=models.ManyToManyField(blank=True, help_text='All courses that have to be in the curriculum to follow this. If a credit was achieved, that course can be omitted.', related_name='in_curriculum', to='courses.Course'), |
40 |
), |
41 |
migrations.AlterField( |
42 |
model_name='prerequisite', |
43 |
name='required_study', |
44 |
field=models.ForeignKey(blank=True, help_text='If one must have a certain amount of obtained ECTS points for a particular course, state that course here.', null=True, on_delete=django.db.models.deletion.CASCADE, to='courses.Study'), |
45 |
), |
46 |
migrations.AlterField( |
47 |
model_name='prerequisite', |
48 |
name='sequentialities', |
49 |
field=models.ManyToManyField(blank=True, help_text="All courses for which a credit must've been received in order to follow the course.", related_name='sequentialities', to='courses.Course'), |
50 |
), |
51 |
] |
52 |
|