gestioCOF/gestioncof/apps.py

15 lines
351 B
Python
Raw Normal View History

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