django-constance/constance/__init__.py

15 lines
267 B
Python
Raw Normal View History

from django.utils.functional import LazyObject
2010-08-23 11:06:52 +00:00
2016-09-14 17:44:59 +00:00
__version__ = '1.3'
2014-11-25 21:22:04 +00:00
default_app_config = 'constance.apps.ConstanceConfig'
class LazyConfig(LazyObject):
def _setup(self):
from .base import Config
self._wrapped = Config()
2016-09-14 17:22:32 +00:00
config = LazyConfig()