permanent
Whether the redirect should be permanent. The only difference here is the HTTP status code returned. If True
, then the redirect will use status code 301. If False
, then the redirect will use status code 302. By default, permanent
is False
.
Changed in Django 1.9:
The default value of the permanent
attribute changed from True
to False
.
Please login to continue.