Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
pub
/
flynn-django-template
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ec067834
authored
May 27, 2017
by
David Sanders
Committed by
GitHub
May 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed DjangoWhiteNoise application wrapper
parent
96b16bda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
project_name/wsgi.py
+0
-2
No files found.
project_name/wsgi.py
View file @
ec067834
...
@@ -10,9 +10,7 @@ https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
...
@@ -10,9 +10,7 @@ https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
import
os
import
os
from
django.core.wsgi
import
get_wsgi_application
from
django.core.wsgi
import
get_wsgi_application
from
whitenoise.django
import
DjangoWhiteNoise
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"{{ project_name }}.settings"
)
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"{{ project_name }}.settings"
)
application
=
get_wsgi_application
()
application
=
get_wsgi_application
()
application
=
DjangoWhiteNoise
(
application
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment