Unverified Commit 91758e39 authored by oraby8's avatar oraby8 Committed by GitHub
Browse files

fix issue 13904 -attribute does not exist- by change self_.mapping to self._model_mapping (#13942)

parent 239bd61b
......@@ -556,7 +556,7 @@ class _LazyAutoMapping(OrderedDict):
]
def __iter__(self):
return iter(self._mapping.keys())
return iter(self._model_mapping.keys())
def __contains__(self, item):
if not hasattr(item, "__name__") or item.__name__ not in self._reverse_config_mapping:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment