mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-18 15:30:23 +00:00
15 lines
384 B
Python
15 lines
384 B
Python
from django.apps import AppConfig
|
|
from django.utils.translation import ugettext_lazy as _
|
|
from django.utils.functional import SimpleLazyObject
|
|
|
|
|
|
from .base import Config
|
|
|
|
|
|
class ConstanceConfig(AppConfig):
|
|
name = 'constance'
|
|
verbose_name = _('Constance')
|
|
|
|
def ready(self):
|
|
super(ConstanceConfig, self).ready()
|
|
self.module.config = SimpleLazyObject(Config)
|