Skip to content
Snippets Groups Projects
Unverified Commit 19a3012b authored by Luke Murphy's avatar Luke Murphy
Browse files

Set the default settings file.

parent 4f640756
No related branches found
No related tags found
1 merge request!57Set the default settings file.
Pipeline #2076 failed
DJANGO_SETTINGS_MODULE=settings
......@@ -5,6 +5,8 @@ import sys
sys.path.append(os.path.join(os.path.dirname(__file__), 'internewshid'))
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
if __name__ == '__main__':
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
......@@ -7,4 +7,6 @@ from django.core.wsgi import get_wsgi_application
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'internewshid'))
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
application = get_wsgi_application()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment