Jump to >

This documentation covers the in-development release of Djblets. You can see the latest stable docs or all previous versions.

djblets.urls.patterns

never_cache_patterns(*args)[source]

Prevent any included URLs from being cached by the browser.

It’s sometimes desirable not to allow browser caching for a set of URLs. Any URLs passed in will have the never_cache() decorator applied.

Parameters

*args (tuple) – The URL arguments to pass to the function.

Returns

A list of URL patterns.

Return type

list