15 lines
353 B
Python
15 lines
353 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class CofConfig(AppConfig):
|
|
name = 'cof'
|
|
verbose_name = "Gestion des adhérents du COF"
|
|
|
|
def ready(self):
|
|
from . import signals
|
|
self.register_config()
|
|
|
|
def register_config(self):
|
|
import djconfig
|
|
from .forms import CofConfigForm
|
|
djconfig.register(CofConfigForm)
|