only reload once - even if forced

This commit is contained in:
Matthias 2021-11-22 00:17:04 +01:00
parent a1b821bf78
commit adc058c8b4
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -298,7 +298,7 @@ class Plugins:
if self.apps_loading or force_reload:
self.apps_loading = False
self._reload_apps(force_reload=True)
else:
self._reload_apps()
# rediscover models/ admin sites