Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
6b3b0500
Commit
6b3b0500
authored
Nov 20, 2014
by
Jason D Yeomans
Browse files
fixed wsgi and manage.py
parent
d12b17f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
roomlist/manage.py
View file @
6b3b0500
...
...
@@ -3,7 +3,7 @@ import os
import
sys
if
__name__
==
"__main__"
:
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"
django_project
.settings"
)
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"
settings
.settings"
)
from
django.core.management
import
execute_from_command_line
...
...
roomlist/settings/wsgi.py
View file @
6b3b0500
"""
WSGI config for
django_project
project.
WSGI config for
settings
project.
It exposes the WSGI callable as a module-level variable named ``application``.
...
...
@@ -8,7 +8,7 @@ https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""
import
os
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"
django_project
.settings"
)
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"
settings
.settings"
)
from
django.core.wsgi
import
get_wsgi_application
application
=
get_wsgi_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