mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 11:04:04 +03:00
Check to confirm that the user has a modern version of Cookiecutter.
This commit is contained in:
commit
7a5712c379
|
@ -72,7 +72,6 @@ MIDDLEWARE_CLASSES = (
|
||||||
SECURE_HSTS_SECONDS = 60
|
SECURE_HSTS_SECONDS = 60
|
||||||
SECURE_HSTS_INCLUDE_SUBDOMAINS = env.bool(
|
SECURE_HSTS_INCLUDE_SUBDOMAINS = env.bool(
|
||||||
'DJANGO_SECURE_HSTS_INCLUDE_SUBDOMAINS', default=True)
|
'DJANGO_SECURE_HSTS_INCLUDE_SUBDOMAINS', default=True)
|
||||||
SECURE_FRAME_DENY = env.bool('DJANGO_SECURE_FRAME_DENY', default=True)
|
|
||||||
SECURE_CONTENT_TYPE_NOSNIFF = env.bool(
|
SECURE_CONTENT_TYPE_NOSNIFF = env.bool(
|
||||||
'DJANGO_SECURE_CONTENT_TYPE_NOSNIFF', default=True)
|
'DJANGO_SECURE_CONTENT_TYPE_NOSNIFF', default=True)
|
||||||
SECURE_BROWSER_XSS_FILTER = True
|
SECURE_BROWSER_XSS_FILTER = True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user