Merge pull request #15539 from edx/vkaracic/update-settings

Add COURSE_CATALOG_API_URL settings value to devstack_docker
This commit is contained in:
Vedran Karačić
2017-07-13 06:51:56 +02:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -68,3 +68,5 @@ MKTG_URLS = {
}
CREDENTIALS_SERVICE_USERNAME = 'credentials_worker'
COURSE_CATALOG_API_URL = 'http://edx.devstack.discovery:18381/api/v1/'

View File

@@ -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