Jump to >

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



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.

If the first parameter is a prefix string for view lookup strings, then this will emit a deprecation warning, as these are no longer supported in Django 1.10 or higher.

Returns:A list of URL patterns.
Return type:list