Fix evaluation of RestrictedQuerySet

This commit is contained in:
Jeremy Stretch 2020-06-29 14:42:37 -04:00
parent 71812d1bd5
commit 66703d8963

View File

@ -538,7 +538,7 @@ class ConfigContextModel(models.Model):
# Compile all config data, overwriting lower-weight values with higher-weight values where a collision occurs # Compile all config data, overwriting lower-weight values with higher-weight values where a collision occurs
data = OrderedDict() data = OrderedDict()
for context in ConfigContext.objects.get_for_object(self): for context in ConfigContext.objects.unrestricted().get_for_object(self):
data = deepmerge(data, context.data) data = deepmerge(data, context.data)
# If the object has local config context data defined, merge it last # If the object has local config context data defined, merge it last