While trying to use cookies, I have trying to follow the vendor's documentation. In the documentation, I have seen this sentence Set SESSION_ENGINE to "django.contrib.sessions.backends.cache" for a simple caching
session store.
but I could not find the place to change the session settings. How can I set Session engine ?
Have you done the tutorial yet? If not, it's a very good place to start.
All Django settings are in the project/settings.py
file.
Update for comment:
The default settings are in django/conf/global_settings.py
. DO NOT modify this file! All of the settings in there can be overridden in your project's settings.py
file.
Just try to put in the settings.py
SESSION_ENGINE = "django.contrib.sessions.backends.cache"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With