Since I follow the recommended way of creating signal, I create a signals.py file in a project's app, an app.py config file, and initialize that in __init__. @receiver(pre_delete, dispatch_uid='document_delete_signal')
But what if I don't want this to be tied to a specific app in the project, but intercept any pre_delete for all models and apps ? Where should I put and configure signals.py, app.py and which __iniy__ ? Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b4d33320-8256-4731-8e4a-51a78895cff2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.