django-cacheops
django-cacheops copied to clipboard
Add 'timeout' param to cached_view_as() examples and documentation.
It is not clear from the documentation whether the 'cached_view_as' decorator supports the 'timeout' parameter or not. All examples of using cached_view_as() are given without using 'timeout'.
The annotation of the function also does not provide an answer to this question. See the screenshot.
Experimentally, I found out that cached_view_as() actually supports timeout. Please add this to the documentation.