mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-17 06:50:23 +00:00
17 lines
366 B
Python
17 lines
366 B
Python
import django.dispatch
|
|
from django.utils.functional import LazyObject
|
|
|
|
__version__ = '1.2.1'
|
|
|
|
default_app_config = 'constance.apps.ConstanceConfig'
|
|
|
|
|
|
class LazyConfig(LazyObject):
|
|
def _setup(self):
|
|
from .base import Config
|
|
self._wrapped = Config()
|
|
|
|
|
|
config = LazyConfig()
|
|
|
|
updated_signal = django.dispatch.Signal(providing_args=['key', 'value'])
|