mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
This should fix #80 that is triggered by Django's new strickter import time loading process.
12 lines
269 B
Python
12 lines
269 B
Python
from django.apps import AppConfig
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
from .base import Config
|
|
|
|
|
|
class ConstanceConfig(AppConfig):
|
|
name = 'constance'
|
|
verbose_name = _('Constance')
|
|
|
|
def ready(self):
|
|
self.module.config = Config()
|