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