2016-09-10 22:49:07 +02:00
|
|
|
from django.apps import AppConfig
|
|
|
|
|
2018-01-06 12:33:30 +01:00
|
|
|
|
2016-09-10 22:49:07 +02:00
|
|
|
class KFetConfig(AppConfig):
|
|
|
|
name = 'kfet'
|
|
|
|
verbose_name = "Application K-Fêt"
|
|
|
|
|
|
|
|
def ready(self):
|
2017-04-03 20:32:16 +02:00
|
|
|
self.register_config()
|
|
|
|
|
|
|
|
def register_config(self):
|
|
|
|
import djconfig
|
|
|
|
from kfet.forms import KFetConfigForm
|
|
|
|
djconfig.register(KFetConfigForm)
|