2016-09-10 22:49:07 +02:00
|
|
|
from django.apps import AppConfig
|
|
|
|
|
2017-02-22 20:00:32 +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)
|