Skip to content

Commit f729dac

Browse files
committed
Fix #657: Preserve the ordering of applications
This avoids superfluous migrations.
1 parent 4403ac2 commit f729dac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

feincms/content/application/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from __future__ import absolute_import
22

3+
from collections import OrderedDict
34
from email.utils import parsedate
45
from functools import partial, wraps
56
from time import mktime
@@ -177,7 +178,7 @@ class ApplicationContent(models.Model):
177178
# MyBlogApp for blog <slug>")
178179
parameters = JSONField(null=True, editable=False)
179180

180-
ALL_APPS_CONFIG = {}
181+
ALL_APPS_CONFIG = OrderedDict()
181182

182183
class Meta:
183184
abstract = True

0 commit comments

Comments
 (0)