2017-09-13 01:57:31 +02:00
|
|
|
from django.apps import AppConfig
|
2017-09-21 23:39:27 +02:00
|
|
|
from django.db.models.signals import post_migrate
|
2017-09-13 01:57:31 +02:00
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
|
|
|
|
|
|
|
|
class KFetAuthConfig(AppConfig):
|
|
|
|
name = 'kfet.auth'
|
|
|
|
label = 'kfetauth'
|
|
|
|
verbose_name = _("K-Fêt - Authentification et Autorisation")
|
2017-09-21 23:39:27 +02:00
|
|
|
|
|
|
|
def ready(self):
|
|
|
|
from .utils import setup_kfet_generic_user
|
|
|
|
post_migrate.connect(setup_kfet_generic_user, sender=self)
|