-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1258700 - Use WhiteNoise as middleware rather than as a WSGI app
WhiteNoise now supports being used as Django middleware, rather than having to wrap the Django app with the standalone WSGI WhiteNoise app: http://whitenoise.evans.io/en/latest/changelog.html#simpler-cleaner-django-middleware-integration http://whitenoise.evans.io/en/latest/django.html#enable-whitenoise In addition to reducing the complexity of the WGSI configuration, it means that Django's security middleware can soon be used to perform HTTPS redirection (and more), rather than having to rely on yet another (and less featureful) standalone WSGI app: wsgi-sslify.
- Loading branch information
Ed Morley
committed
Mar 24, 2016
1 parent
28571b9
commit 5107906
Showing
3 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters