diff --git a/src/info/migrations/0007_auto_20180520_1511.py b/src/info/migrations/0007_auto_20180520_1511.py new file mode 100644 index 00000000..c2511a93 --- /dev/null +++ b/src/info/migrations/0007_auto_20180520_1511.py @@ -0,0 +1,19 @@ +# Generated by Django 2.0.4 on 2018-05-20 20:11 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('info', '0006_auto_20180520_1113'), + ] + + operations = [ + migrations.AlterField( + model_name='infocategory', + name='team', + field=models.ForeignKey(help_text='The team responsible for this info category.', on_delete=django.db.models.deletion.PROTECT, related_name='info_categories', to='teams.Team'), + ), + ] diff --git a/src/info/models.py b/src/info/models.py index 50a31e32..aecd4c0d 100644 --- a/src/info/models.py +++ b/src/info/models.py @@ -26,8 +26,6 @@ class InfoCategory(CampRelatedModel): team = models.ForeignKey( 'teams.Team', - null=True, - blank=True, help_text='The team responsible for this info category.', on_delete=models.PROTECT, related_name='info_categories'