forked from AFPy/PonyConf
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)
|