regluit/core/apps.py

10 lines
320 B
Python
Raw Normal View History

from django.apps import AppConfig
from django.db.models.signals import post_migrate
class CoreConfig(AppConfig):
name = 'regluit.core'
2016-07-26 14:34:45 +00:00
verbose_name = ' core objects'
def ready(self):
2018-04-20 01:23:24 +00:00
from regluit.core.signals import create_notice_types
post_migrate.connect(create_notice_types, sender=self)