forked from AFPy/PonyConf
22a0fe3ca9
This commit also fix conference creation for initial Site
11 lines
286 B
Python
11 lines
286 B
Python
from django.apps import AppConfig
|
|
from django.db.models.signals import post_migrate
|
|
|
|
|
|
class AccountsConfig(AppConfig):
|
|
name = 'accounts'
|
|
|
|
def ready(self):
|
|
import accounts.signals # noqa
|
|
post_migrate.connect(accounts.signals.create_default_options, sender=self)
|