﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31980	manage.py check --deploy should not throw security.W004 warning if SECURE_HSTS_SECONDS is explicitly set to 0	Magnus Longva	nobody	"If you run 
{{{
manage.py check --deploy
}}}
on a Django project where you have explicitly set SECURE_HSTS_SECONDS = 0 in the settings file, you get a warning

{{{
?: (security.W004) You have not set a value for the SECURE_HSTS_SECONDS setting. If your entire site is served only over SSL, you may want to consider setting a value and enabling HTTP Strict Transport Security. Be sure to read the documentation first; enabling HSTS carelessly can cause serious, irreversible problems.
}}}

This warning should only appear if you have not specified SECURE_HSTS_SECONDS anywhere."	Bug	closed	Core (Management commands)	dev	Normal	invalid	check deploy	Adam Johnson	Unreviewed	0	0	0	0	0	0
