mirror of
https://github.com/jazzband/django-constance.git
synced 2026-04-12 03:01:00 +00:00
17 lines
364 B
Python
17 lines
364 B
Python
import django.dispatch
|
|
from django.utils.functional import LazyObject
|
|
|
|
__version__ = '1.3'
|
|
|
|
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'])
|