Jump to >

This documentation covers Djblets 2.0. You can see the latest Djblets documentation or all other versions.


Privacy-related template tags.


Inject the current page URL with personal information redacted.

This makes use of djblets.privacy.pii.build_pii_safe_page_url() to inject a version of the current page URL with usernames or e-mail addresses redacted.

Parameters:context (django.templates.RequestContext) – The context for the page, containing a request variable.
Returns:The safe URL to inject into the page.
Return type:unicode


ga('set', 'location', '{% pii_safe_page_url %}');