kpsul/gestioncof/apps.py

16 lines
381 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):
from . import signals
2017-05-26 00:58:59 +02:00
self.register_config()
def register_config(self):
import djconfig
from .forms import GestioncofConfigForm
djconfig.register(GestioncofConfigForm)