0007_course_co_titulars.py
1 |
|
2 |
|
3 |
from django.conf import settings |
4 |
from django.db import migrations, models |
5 |
|
6 |
|
7 |
class Migration(migrations.Migration): |
8 |
|
9 |
dependencies = [ |
10 |
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
11 |
('courses', '0006_auto_20180204_1349'), |
12 |
] |
13 |
|
14 |
operations = [ |
15 |
migrations.AddField( |
16 |
model_name='course', |
17 |
name='co_titulars', |
18 |
field=models.ManyToManyField(blank=True, help_text='The co-titular(s) of this course, if applicable.', limit_choices_to={'is_staff': True}, related_name='co_titulars', to=settings.AUTH_USER_MODEL), |
19 |
), |
20 |
] |
21 |