mirror of
https://github.com/jazzband/django-constance.git
synced 2026-04-28 10:44:52 +00:00
This should fix #80 that is triggered by Django's new strickter import time loading process.
8 lines
183 B
Python
8 lines
183 B
Python
from .base import Config
|
|
|
|
try:
|
|
from django.apps import AppConfig # noqa
|
|
except ImportError:
|
|
config = Config()
|
|
else:
|
|
default_app_config = 'constance.apps.ConstanceConfig'
|