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
2ffabe63
Commit
2ffabe63
authored
Jul 13, 2017
by
Vedran Karačić
Committed by
GitHub
Jul 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15539 from edx/vkaracic/update-settings
Add COURSE_CATALOG_API_URL settings value to devstack_docker
parents
c78b84ca
3916759d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
lms/envs/devstack_docker.py
+2
-0
openedx/core/djangoapps/catalog/management/commands/cache_programs.py
+2
-2
No files found.
lms/envs/devstack_docker.py
View file @
2ffabe63
...
...
@@ -68,3 +68,5 @@ MKTG_URLS = {
}
CREDENTIALS_SERVICE_USERNAME
=
'credentials_worker'
COURSE_CATALOG_API_URL
=
'http://edx.devstack.discovery:18381/api/v1/'
openedx/core/djangoapps/catalog/management/commands/cache_programs.py
View file @
2ffabe63
...
...
@@ -41,7 +41,7 @@ class Command(BaseCommand):
user
=
User
.
objects
.
get
(
username
=
username
)
except
User
.
DoesNotExist
:
logger
.
error
(
'Failed to create API client. Service user {username} does not exist.'
.
format
(
username
)
'Failed to create API client. Service user {username} does not exist.'
.
format
(
username
=
username
)
)
raise
...
...
@@ -85,7 +85,7 @@ class Command(BaseCommand):
client
=
create_catalog_api_client
(
user
)
except
User
.
DoesNotExist
:
logger
.
error
(
'Failed to create API client. Service user {username} does not exist.'
.
format
(
username
)
'Failed to create API client. Service user {username} does not exist.'
.
format
(
username
=
username
)
)
raise
...
...
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