mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
* Add a Django system check that CONFIG_FIELDSETS accounts for all of CONFIG * Fix test (don't actually modify values when submitting form) and restore python2 compatibility
15 lines
290 B
Python
15 lines
290 B
Python
from django.utils.functional import LazyObject
|
|
from . import checks
|
|
|
|
__version__ = '2.4.0'
|
|
|
|
default_app_config = 'constance.apps.ConstanceConfig'
|
|
|
|
|
|
class LazyConfig(LazyObject):
|
|
def _setup(self):
|
|
from .base import Config
|
|
self._wrapped = Config()
|
|
|
|
|
|
config = LazyConfig()
|