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
go
Commits
b07607c9
Commit
b07607c9
authored
Jan 13, 2020
by
Zac Wood
Browse files
update wsgi file
parent
d900316b
Pipeline
#5308
passed with stages
in 2 minutes and 16 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
go/manage.py
View file @
b07607c9
...
...
@@ -12,4 +12,3 @@ if __name__ == "__main__":
from
django.core.management
import
execute_from_command_line
execute_from_command_line
(
sys
.
argv
)
\ No newline at end of file
go/settings/wsgi.py
View file @
b07607c9
...
...
@@ -10,4 +10,8 @@ https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
import
os
from
django.core.wsgi
import
get_wsgi_application
if
not
os
.
getenv
(
'DOCKER'
):
dotenv
.
read_dotenv
(
'../.env'
)
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