Fixed rendered config context ordering

This commit is contained in:
Jeremy Stretch 2018-06-29 09:53:33 -04:00
parent 743cf6d398
commit 278bacbce8

View File

@ -703,11 +703,11 @@ class ConfigContextModel(models.Model):
"""
# Compile all config data, overwriting lower-weight values with higher-weight values where a collision occurs
data = {}
data = OrderedDict()
for context in ConfigContext.objects.get_for_object(self):
data.update(context.data)
return sorted(data)
return data
#