is the signals.py module being loaded at some point? If it isn't, then the connect function is never being called.
On Wed, Feb 25, 2015 at 2:01 PM, Rootz <[email protected]> wrote: > I have tried using the request_finished signal but nothing happens when I > tried testing it. > What suggestions or recommendations can I do to help fix the problem? > > Thank you. > > > Below is a sample of the signals.py file (sample is taken from > djangoproject.com ) > > ###SIGNALS.PY > > > from django.core.signals import request_finished > > > def my_callback(sender, **kwargs): > print("request finished") > > request_finished.connect(my_callback) > > > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/c25adbf7-4654-440f-bb43-9a234339ad17%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/c25adbf7-4654-440f-bb43-9a234339ad17%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALn3ei0UXb%2B0rwNL6CYmTQTUAJJctVyoNRa6x5SSRt5h8SCLpg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

