Skip to content

Add @api_view example to caching documentation #9131

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

BradWells
Copy link
Contributor

Description

I am using @api_view heavily in my project and wanted to cache one of the views. I couldn't find any official documentation for how to do it on the caching page. I found out on a Stackoverflow answer that it is extremely simple, so I wanted to add some example snippets to the documentation.

@auvipy auvipy self-requested a review October 8, 2023 07:31
@auvipy auvipy added this to the 3.15 milestone Oct 8, 2023
@tomchristie
Copy link
Member

Fair enough yep. Nice little docs improvement.

@tomchristie tomchristie merged commit 6df5098 into encode:master Mar 22, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants