kpsul/gestioncof/apps.py

18 lines
391 B
Python
Raw Normal View History

from django.apps import AppConfig
class GestioncofConfig(AppConfig):
name = "gestioncof"
2017-05-26 00:58:59 +02:00
verbose_name = "Gestion des adhérents du COF"
def ready(self):
2018-10-06 12:47:19 +02:00
from . import signals # noqa
2017-05-26 00:58:59 +02:00
self.register_config()
def register_config(self):
import djconfig
from .forms import GestioncofConfigForm
2017-05-26 00:58:59 +02:00
djconfig.register(GestioncofConfigForm)