The following Django settings control its default behaviour:
Specifies the URI to redirect a User Agent to, if it tries
to use a non-secure connection. Responds with HTTP Moved
Defaults to ``None``, so no redirect occurs. Instead, responds
The maximum number of seconds that a User Agent will remember
that this server must be contacted over HTTPS.
Defaults to ``31536000``, or approximately one year.
If true, tells a User Agent that all subdomains must also be
contacted over HTTPS, in addition to the current domain.