Kaydet (Commit) 137a3d7c authored tarafından Aymeric Augustin's avatar Aymeric Augustin

Avoided loading repeatedly the same models module.

üst e3209561
......@@ -113,6 +113,9 @@ class AppCache(object):
for app_config in self.app_configs.values():
if app_config.models is not None:
continue
try:
all_models = self.all_models[app_config.label]
app_config.import_models(all_models)
......
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