Fixed a migration ordering issue

- Legacy-Id: 15322
This commit is contained in:
Henrik Levkowetz 2018-07-13 03:40:32 +00:00
parent eaca9cee5e
commit 8783fb11ab
2 changed files with 1 additions and 3 deletions

View file

@ -279,7 +279,6 @@ def reverse(apps, schema_editor):
dir = GroupTypeName.objects.get(slug='dir')
review = GroupTypeName.objects.get(slug='review')
for group in Group.objects.filter(type=review):
debug.show('group.acronym')
group.type = dir
group.save()
for entry in GroupFeatures.objects.all():
@ -290,8 +289,8 @@ class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('name', '0002_agendatypename'),
('group', '0002_groupfeatures_historicalgroupfeatures'),
('name', '0003_agendatypename_data'),
]
operations = [

View file

@ -47,7 +47,6 @@ class Migration(migrations.Migration):
dependencies = [
('name', '0002_agendatypename'),
('group', '0002_groupfeatures_historicalgroupfeatures'),
]
operations = [