2020-05-01 15:05:26 +02:00
|
|
|
from django.apps import AppConfig
|
|
|
|
|
2020-05-02 00:10:36 +02:00
|
|
|
|
2020-05-01 15:05:26 +02:00
|
|
|
class CoreConfig(AppConfig):
|
|
|
|
name = 'core'
|
|
|
|
|
|
|
|
def ready(self):
|
|
|
|
from django.contrib.auth.models import User
|
|
|
|
from django.db.models.signals import post_save
|
|
|
|
from portier.common import handlers
|
|
|
|
post_save.connect(handlers.add_to_default_group, sender=User)
|