diff --git a/horizon/conf/__init__.py b/horizon/conf/__init__.py index ad5d51dad..b34b4f512 100644 --- a/horizon/conf/__init__.py +++ b/horizon/conf/__init__.py @@ -2,12 +2,11 @@ import copy from django.utils.functional import LazyObject, empty -from .default import HORIZON_CONFIG as DEFAULT_CONFIG - class LazySettings(LazyObject): def _setup(self, name=None): from django.conf import settings + from .default import HORIZON_CONFIG as DEFAULT_CONFIG HORIZON_CONFIG = copy.copy(DEFAULT_CONFIG) HORIZON_CONFIG.update(settings.HORIZON_CONFIG)