mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-22 01:00:24 +00:00
13 lines
314 B
Python
13 lines
314 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):
|
|
super(ConstanceConfig, self).ready()
|
|
self.module.config = Config()
|