Skip to content

Bug/change default cache#1561

Open
sheralim012 wants to merge 4 commits into
unicef:developfrom
sheralim012:bug/change-default-cache
Open

Bug/change default cache#1561
sheralim012 wants to merge 4 commits into
unicef:developfrom
sheralim012:bug/change-default-cache

Conversation

@sheralim012
Copy link
Copy Markdown
Contributor

By default, Django uses Local Memory Cache see here if a cache isn't explicitly specified. And Django requires that the default cache be configured otherwise an error is raised.
Screenshot 2023-02-28 at 10 53 10 AM

To simulate no cache behavior we can use Dummy Cache see here, it just provides an interface for cache without actually doing any caching so code doesn't break.

@sheralim012 sheralim012 requested a review from istride February 28, 2023 05:57
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.

1 participant