Commit a41a9f22 by Gregory Martin

Release Branch

parent 60c7bdc9
......@@ -2,7 +2,7 @@ import sys
import os
sys.path.append(os.path.abspath(__file__))
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.local')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.production')
from django.conf import settings
from rest_framework import routers
......
......@@ -5,5 +5,5 @@ from django.core.wsgi import get_wsgi_application
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
os.environ.setdefault("PYTHON_EGG_CACHE", BASE_DIR + "/egg_cache")
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.local')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.production')
application = get_wsgi_application()
......@@ -14,7 +14,7 @@ project_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if project_path not in sys.path:
sys.path.append(project_path)
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.local')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.production')
django.setup()
......
......@@ -14,7 +14,7 @@ project_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if project_path not in sys.path:
sys.path.append(project_path)
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.local')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.production')
django.setup()
......
......@@ -3,7 +3,7 @@ import os
import sys
if __name__ == "__main__":
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.local')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.production')
from django.core.management import execute_from_command_line
......
......@@ -19,7 +19,7 @@ project_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if project_path not in sys.path:
sys.path.append(project_path)
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.local')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.production')
django.setup()
......
......@@ -18,7 +18,7 @@ project_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if project_path not in sys.path:
sys.path.append(project_path)
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.local')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'VEDA.settings.production')
django.setup()
from VEDA_OS01.models import Video, Encode, URL
......
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