mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-17 06:50:23 +00:00
14 lines
389 B
Python
14 lines
389 B
Python
from django.apps import AppConfig
|
|
from django.core import checks
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
from constance.checks import check_fieldsets
|
|
|
|
|
|
class ConstanceConfig(AppConfig):
|
|
name = 'constance'
|
|
verbose_name = _('Constance')
|
|
default_auto_field = 'django.db.models.AutoField'
|
|
|
|
def ready(self):
|
|
checks.register(check_fieldsets, 'constance')
|