Files
django-q2/django_q/apps.py
Ilan Steemers 913edcb3da moves hook signal in separate module
By moving signals in their own module, we can now follow Django guidelines and register signals on app.ready.
2015-10-05 13:46:47 +02:00

11 lines
212 B
Python

from django.apps import AppConfig
from .conf import Conf
class DjangoQConfig(AppConfig):
name = 'django_q'
verbose_name = Conf.LABEL
def ready(self):
from django_q.signals import call_hook