mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-06 07:30:40 +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:
parent
41e6cd89fd
commit
564a419ec0
@ -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": {
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user