kpsul/gestioncof/apps.py

19 lines
392 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
2017-05-26 00:58:59 +02:00
from .forms import GestioncofConfigForm
2017-05-26 00:58:59 +02:00
djconfig.register(GestioncofConfigForm)