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

Make cache value serializable #129

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

Conversation

q0w
Copy link

@q0w q0w commented Oct 20, 2023

Convert model to dict by model_to_dict. Tested with django-redis using several backends: json, pickle.

Closes #102

@q0w q0w changed the title Make cache key serializable Make cache value serializable Oct 20, 2023
Convert model to dict by `model_to_dict`. Tested with django-redis using several backends: json, pickle.
@q0w q0w force-pushed the serializable-key branch from 0cd0f5c to 21bbdfc Compare October 20, 2023 12:09
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.

Are there plans on making cache generic (serializable) for all cache backends?
1 participant