Fixed a migration ordering issue
- Legacy-Id: 15322
This commit is contained in:
parent
eaca9cee5e
commit
8783fb11ab
|
@ -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 = [
|
||||
|
|
|
@ -47,7 +47,6 @@ class Migration(migrations.Migration):
|
|||
|
||||
dependencies = [
|
||||
('name', '0002_agendatypename'),
|
||||
('group', '0002_groupfeatures_historicalgroupfeatures'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
|
Loading…
Reference in a new issue