gestioCOF/kfet/apps.py

16 lines
321 B
Python
Raw 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)