gestioCOF/kfet/apps.py

17 lines
322 B
Python
Raw Permalink Normal View History

from django.apps import AppConfig
2018-01-06 12:33:30 +01:00
class KFetConfig(AppConfig):
name = "kfet"
verbose_name = "Application K-Fêt"
def ready(self):
self.register_config()
def register_config(self):
import djconfig
from kfet.forms import KFetConfigForm
djconfig.register(KFetConfigForm)