Skip to content
Snippets Groups Projects
Unverified Commit 6e4c92c0 authored by Marco Ciotola's avatar Marco Ciotola
Browse files

Silence urls.W002 warning.

Slashes aren't deemed necessary at start of URL patterns, but the actual check author recognized the too-strict approach for his check: https://stackoverflow.com/a/41450355
parent fa9b1bef
No related branches found
No related tags found
No related merge requests found
...@@ -114,6 +114,8 @@ if get_from_env('HSTS', '0') == '1': ...@@ -114,6 +114,8 @@ if get_from_env('HSTS', '0') == '1':
SECURE_BROWSER_XSS_FILTER = True SECURE_BROWSER_XSS_FILTER = True
SECURE_CONTENT_TYPE_NOSNIFF = True SECURE_CONTENT_TYPE_NOSNIFF = True
SILENCED_SYSTEM_CHECKS = ['urls.W002']
MIDDLEWARE_CLASSES = ( MIDDLEWARE_CLASSES = (
# make all things SSL # make all things SSL
#'sslify.middleware.SSLifyMiddleware', #'sslify.middleware.SSLifyMiddleware',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment