Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-video-pipeline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-video-pipeline
Commits
39cb599a
Commit
39cb599a
authored
Jul 05, 2017
by
Gregory Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor app name
parent
f7cb3e44
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
13 additions
and
12 deletions
+13
-12
.travis.yml
+1
-1
VEDA_OS01/pipeline_env.py
+1
-1
control/control_env.py
+1
-1
manage.py
+1
-1
video_common/__init__.py
+0
-0
video_common/django_secrets.py
+1
-1
video_common/settings.py
+2
-2
video_common/tests/test_build.py
+0
-0
video_common/urls.py
+3
-2
video_common/wsgi.py
+1
-1
youtube_callback/daemon.py
+1
-1
youtube_callback/sftp_id_retrieve.py
+1
-1
No files found.
.travis.yml
View file @
39cb599a
...
...
@@ -8,7 +8,7 @@ install: pip install pep8
# build tests
script
:
-
python common/tests/test_build.py
-
python
video_
common/tests/test_build.py
-
pep8
-
cd control/tests nosetests
VEDA_OS01/pipeline_env.py
View file @
39cb599a
...
...
@@ -16,7 +16,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
[
'DJANGO_SETTINGS_MODULE'
]
=
'common.settings'
os
.
environ
[
'DJANGO_SETTINGS_MODULE'
]
=
'
video_
common.settings'
django
.
setup
()
...
...
control/control_env.py
View file @
39cb599a
...
...
@@ -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
[
'DJANGO_SETTINGS_MODULE'
]
=
'common.settings'
os
.
environ
[
'DJANGO_SETTINGS_MODULE'
]
=
'
video_
common.settings'
django
.
setup
()
...
...
manage.py
View file @
39cb599a
...
...
@@ -3,7 +3,7 @@ import os
import
sys
if
__name__
==
"__main__"
:
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"common.settings"
)
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"
video_
common.settings"
)
from
django.core.management
import
execute_from_command_line
...
...
common/__init__.py
→
video_
common/__init__.py
View file @
39cb599a
File moved
common/django_secrets.py
→
video_
common/django_secrets.py
View file @
39cb599a
"""
V
EDA's
Django Secrets Shim
V
ideo Pipeline
Django Secrets Shim
This acts as a django-secret shimmer until we can finish pushing all changes to terraform/prod
...
...
common/settings.py
→
video_
common/settings.py
View file @
39cb599a
...
...
@@ -102,10 +102,10 @@ X_FRAME_OPTIONS = 'DENY'
SECURE_SSL_REDIRECT
=
False
SECURE_CONTENT_TYPE_NOSNIFF
=
True
SECURE_BROWSER_XSS_FILTER
=
True
ROOT_URLCONF
=
'common.urls'
ROOT_URLCONF
=
'
video_
common.urls'
# Python dotted path to the WSGI application used by Django's runserver.
WSGI_APPLICATION
=
'common.wsgi.application'
WSGI_APPLICATION
=
'
video_
common.wsgi.application'
REST_FRAMEWORK
=
{
...
...
common/tests/test_build.py
→
video_
common/tests/test_build.py
View file @
39cb599a
File moved
common/urls.py
→
video_
common/urls.py
View file @
39cb599a
...
...
@@ -5,13 +5,14 @@ sys.path.append(os.path.abspath(__file__))
os
.
environ
[
'DJANGO_SETTINGS_MODULE'
]
=
'settings'
from
django.conf
import
settings
from
rest_framework.routers
import
DefaultRouter
from
rest_framework
import
routers
# from rest_framework.routers import DefaultRouter
from
django.conf.urls
import
patterns
,
include
,
url
from
django.contrib
import
admin
from
VEDA_OS01
import
views
router
=
DefaultRouter
()
router
=
routers
.
DefaultRouter
()
admin
.
autodiscover
()
router
.
register
(
r'courses'
,
views
.
CourseViewSet
)
...
...
common/wsgi.py
→
video_
common/wsgi.py
View file @
39cb599a
...
...
@@ -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"
,
"common.settings"
)
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"
video_
common.settings"
)
application
=
get_wsgi_application
()
youtube_callback/daemon.py
View file @
39cb599a
...
...
@@ -20,7 +20,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
[
'DJANGO_SETTINGS_MODULE'
]
=
'common.settings'
os
.
environ
[
'DJANGO_SETTINGS_MODULE'
]
=
'
video_
common.settings'
django
.
setup
()
...
...
youtube_callback/sftp_id_retrieve.py
View file @
39cb599a
...
...
@@ -21,7 +21,7 @@ from django.utils.timezone import utc
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
[
'DJANGO_SETTINGS_MODULE'
]
=
'common.settings'
os
.
environ
[
'DJANGO_SETTINGS_MODULE'
]
=
'
video_
common.settings'
django
.
setup
()
from
VEDA_OS01.models
import
Video
,
Encode
,
URL
...
...
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