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:
Ilan Steemers
2015-10-05 13:46:47 +02:00
parent 693e182d90
commit 913edcb3da
3 changed files with 30 additions and 24 deletions
+3
View File
@@ -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