Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
ed5412eb
Commit
ed5412eb
authored
May 08, 2017
by
Robert Raposa
Committed by
GitHub
May 08, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15059 from edx/robrap/LEARNER-868
LEARNER-868: Default unified_course_view on in devstack.
parents
65352c9d
e185d886
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
lms/envs/bok_choy.py
+0
-2
lms/envs/devstack.py
+12
-0
No files found.
lms/envs/bok_choy.py
View file @
ed5412eb
...
...
@@ -237,8 +237,6 @@ from django.db.utils import ProgrammingError
from
waffle.models
import
Flag
try
:
flag
,
created
=
Flag
.
objects
.
get_or_create
(
name
=
'unified_course_view'
)
flag
.
everyone
=
True
flag
.
save
WAFFLE_OVERRIDE
=
True
except
ProgrammingError
:
# during initial reset_db, the table for the flag doesn't yet exist.
...
...
lms/envs/devstack.py
View file @
ed5412eb
...
...
@@ -261,6 +261,18 @@ JWT_AUTH.update({
'JWT_AUDIENCE'
:
'lms-key'
,
})
# TODO: TNL-6546: Remove this waffle and flag code.
from
django.db.utils
import
ProgrammingError
from
waffle.models
import
Flag
try
:
flag
,
created
=
Flag
.
objects
.
get_or_create
(
name
=
'unified_course_view'
)
flag
.
everyone
=
True
flag
.
save
()
WAFFLE_OVERRIDE
=
True
except
ProgrammingError
:
# during initial reset_db, the table for the flag doesn't yet exist.
pass
#####################################################################
# See if the developer has any local overrides.
if
os
.
path
.
isfile
(
join
(
dirname
(
abspath
(
__file__
)),
'private.py'
)):
...
...
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