Commit 02750ff3 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

moving settings and wsgi files

parent 70dcd853
*.swp
*~
*.pyc
config/settings/secret.py
config/settings/local.py
docs/user_docs/build/*
docs/admin_docs/build/*
settings/secret.py
settings/local.py
static-collected
static/admin/
static/rest_framework/
......
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
os.environ['DJANGO_SETTINGS_MODULE'] = 'config.settings'
# Add the source code directory
sys.path.append('/home/gracedb/gracedb')
......
#!/usr/bin/env python
#! /usr/bin/env python
import os, sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings")
from django.core.management import execute_from_command_line
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment