About this document This document provides an introduction to the
This document is an overview of Django’s security features. It includes advice on securing a Django-powered site. Cross site scripting (XSS)
never_cache(view_func) [source] This decorator adds a Cache-Control: max-age=0, no-cache
DiscoverRunner.build_suite(test_labels, extra_tests=None, **kwargs) Constructs a test suite that matches the test labels provided
get_expiry_age() Returns the number of seconds until this session expires. For sessions with no custom expiration (or those
TransactionTestCase.available_apps Warning This attribute
BaseFormSet.can_order Default: False Lets you create a formset with the ability
cache_control(**kwargs) [source] This decorator patches the response’s Cache-Control
class PasswordResetForm A form for generating and emailing a one-time use link to reset a user’s password.
password_validators_help_text_html(password_validators=None) Returns an HTML string with all help texts in an <ul>
Page 19 of 35