mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
13 lines
266 B
Python
13 lines
266 B
Python
from django.utils.functional import LazyObject
|
|
|
|
__version__ = '1.0'
|
|
|
|
default_app_config = 'constance.apps.ConstanceConfig'
|
|
|
|
|
|
class LazyConfig(LazyObject):
|
|
def _setup(self):
|
|
from .base import Config
|
|
self._wrapped = Config()
|
|
|
|
config = LazyConfig()
|