Hello, I have a turn_the_light_on() function that, well, turns on a light... I put it in wsgi.py (as suggested by internet) just before application = get_wsgi_application()call.
Where can I put turn_the_light_off() function call to turn off the light when the application quits? Thank you! -- 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 https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3618cc41-677b-4b4d-a7f9-b26a5d188981%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

