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

Docs on caching specific wagtail pages and add missing quotes #13

Merged
merged 2 commits into from
Apr 16, 2019

Conversation

Parbhat
Copy link
Contributor

@Parbhat Parbhat commented Apr 15, 2019

No description provided.

@vsalvino
Copy link
Contributor

Thanks for the contribution! I didn't realize you could actually use the method decorator on the class - good addition to the docs.

@Parbhat
Copy link
Contributor Author

Parbhat commented Apr 15, 2019

Thanks for this package. Everything works smoothly. Btw we are adding the package here HyphaApp/hypha#1160

@vsalvino
Copy link
Contributor

Cool, glad it is useful to you. Feel free to make any pull requests or file an issue if you encounter any bugs or need functionality changes.

@@ -186,6 +186,18 @@ To this::
# Wrap the serve function with wagtail-cache
url(serve_pattern, cache_page(wagtail_views.serve), name='wagtail_serve'),

Caching specific wagtail pages only
Copy link
Contributor

@vsalvino vsalvino Apr 16, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this heading say: "Caching specific wagtail page models only" since it appears this code would cache all pages using a specific model, not specific page instances. Correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching it. Updated PR.

@vsalvino vsalvino merged commit 19e7ade into coderedcorp:master Apr 16, 2019
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.

2 participants