Skip to content

Make cache value serializable - #129

Open
93578237 wants to merge 1 commit into
lazybird:masterfrom
93578237:serializable-key
Open

Make cache value serializable#129
93578237 wants to merge 1 commit into
lazybird:masterfrom
93578237:serializable-key

Conversation

@93578237

@93578237 93578237 commented Oct 20, 2023

Copy link
Copy Markdown

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

Closes #102

@93578237 93578237 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.
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