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

Support lower case options for Django Redis cache backend #550

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

eht16
Copy link

@eht16 eht16 commented Jan 19, 2025

The Django Redis cache backend expects the OPTIONS dictionary keys in lower case while dango-redis expects them in upper case.

This change converts the keys depending on the cache backend.

It also installs Django for the Django 5.x test environments in Tox (these were missing for some reason).

Closes #517.

Copy link

Your PR was set to target main, PRs should be target develop
The base branch of this PR has been automatically changed to develop, please check that there are no merge conflicts.

@github-actions github-actions bot changed the base branch from main to develop January 19, 2025 11:04
@eht16 eht16 force-pushed the issue517_lowercase_options_for_django_redis branch from b6ac768 to e093405 Compare January 19, 2025 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Django's RedisCache OPTIONS needs to be lowercase
1 participant