How can I do some tasks like clear Redis cache objects before my Django project stops? (when I hit (Ctrl + c) in the server terminal or stop the daphne or gunicorn se
(when I hit (Ctrl + c) in the server terminal or stop the daphne or gunicorn se