mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-05 05:18:12 +08:00
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.
This commit is contained in:
@@ -6,3 +6,6 @@ from .conf import Conf
|
||||
class DjangoQConfig(AppConfig):
|
||||
name = 'django_q'
|
||||
verbose_name = Conf.LABEL
|
||||
|
||||
def ready(self):
|
||||
from django_q.signals import call_hook
|
||||
Reference in New Issue
Block a user