In my Django project I want to stop the cache from clearing whenever the server is restarted. Such as when I edit my views.py file, the cache is cleared and I get logged out which makes editing any features exclusive to logged in users a pain.
settings.py
SESSION_ENGINE = "django.contrib.sessions.backends.cache"
What configurations would stop cache clearing on server refresh?