mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
10 lines
273 B
Python
10 lines
273 B
Python
from django.apps import AppConfig
|
|
from constance.config import Config
|
|
from django.utils.translation import ugettext as _
|
|
|
|
class ConstanceConfig(AppConfig):
|
|
name = 'constance'
|
|
verbose_name = _('Constance')
|
|
|
|
def ready(self):
|
|
self.module.config = Config()
|