diff --git a/scipost/migrations/0043_auto_20170318_2237.py b/scipost/migrations/0043_auto_20170318_2237.py index e8bcfa55845b746bc3b616fc4418fc75af9aed1f..231b06e9922cb3800e82fa7f890217adce67d1d7 100644 --- a/scipost/migrations/0043_auto_20170318_2237.py +++ b/scipost/migrations/0043_auto_20170318_2237.py @@ -4,13 +4,14 @@ from __future__ import unicode_literals from django.db import migrations -from ..db.constants_migration_0043 import collegeMembers +# from ..db.constants_migration_0043 import collegeMembers def fill_editorial_college(apps, schema_editor): EditorialCollege = apps.get_model('scipost', 'EditorialCollege') EditorialMember = apps.get_model('scipost', 'EditorialCollegeMember') college, new = EditorialCollege.objects.get_or_create(discipline='Physics') + collegeMembers = [] for member in collegeMembers: EditorialMember.objects.get_or_create(discipline=college, **member)