Commit a41a9f22 by Gregory Martin

Release Branch

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