Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Redis for session storage #507

Open
4 tasks done
gabrii opened this issue Mar 21, 2024 · 0 comments
Open
4 tasks done

Use Redis for session storage #507

gabrii opened this issue Mar 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@gabrii
Copy link

gabrii commented Mar 21, 2024

Description

Redis was added recently to the boilerplate. Checking the docs of https://github.com/jazzband/django-redis it seems like we can use it for storing sessions as well with this minor change.

Describe the solution you'd like

SESSION_ENGINE = "django.contrib.sessions.backends.cache"
SESSION_CACHE_ALIAS = "default"

Describe alternatives you've considered

No response

Additional context

No response

Validations

@gabrii gabrii added the enhancement New feature or request label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant