6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-18 23:49:02 +00:00

Fix KeyError: XQUEUE_INTERFACE['url']

'url' and 'django_auth' keys need to be defined in all cases, even when
Xqueue is not used. This is because of courseware.module_render.
This commit is contained in:
Régis Behmo 2018-08-19 20:07:08 +02:00
parent 41e6cd89fd
commit 564a419ec0
2 changed files with 0 additions and 8 deletions

View File

@ -2,7 +2,6 @@
"SECRET_KEY": "{{ SECRET_KEY }}",
"AWS_ACCESS_KEY_ID": "",
"AWS_SECRET_ACCESS_KEY": "",
{% if ACTIVATE_XQUEUE %}
"XQUEUE_INTERFACE": {
"django_auth": {
"username": "{{ XQUEUE_AUTH_USERNAME }}",
@ -10,9 +9,6 @@
},
"url": "http://xqueue:8040"
},
{% else %}
"XQUEUE_INTERFACE": {},
{% endif %}
"CONTENTSTORE": {
"ENGINE": "xmodule.contentstore.mongo.MongoContentStore",
"DOC_STORE_CONFIG": {

View File

@ -2,7 +2,6 @@
"SECRET_KEY": "{{ SECRET_KEY }}",
"AWS_ACCESS_KEY_ID": "",
"AWS_SECRET_ACCESS_KEY": "",
{% if ACTIVATE_XQUEUE %}
"XQUEUE_INTERFACE": {
"django_auth": {
"username": "{{ XQUEUE_AUTH_USERNAME }}",
@ -10,9 +9,6 @@
},
"url": "http://xqueue:8040"
},
{% else %}
"XQUEUE_INTERFACE": {},
{% endif %}
"CONTENTSTORE": {
"ENGINE": "xmodule.contentstore.mongo.MongoContentStore",
"DOC_STORE_CONFIG": {