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):
|
2018-10-06 12:35:49 +02:00
|
|
|
name = "kfet"
|
2016-09-10 22:49:07 +02:00
|
|
|
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
|
2018-10-06 12:35:49 +02:00
|
|
|
|
2017-04-03 20:32:16 +02:00
|
|
|
djconfig.register(KFetConfigForm)
|