Commit ac2b7efa by George Song Committed by GitHub

Merge pull request #4112 from open-craft/haikuginger/additional-middleware-configuration

Add configuration for extra middleware classes
parents 4a436a3f f2d8c885
- Role: edxapp
- Added `EDXAPP_EXTRA_MIDDLEWARE_CLASSES` for configuring additional middleware logic.
- Role: discovery
- Added `OPENEXCHANGERATES_API_KEY` for retrieving currency exchange rates.
......
......@@ -434,6 +434,11 @@ EDXAPP_INSTALL_PRIVATE_REQUIREMENTS: false
# - name: git+https://git.myproject.org/MyProject#egg=MyProject
EDXAPP_EXTRA_REQUIREMENTS: []
# List of custom middlewares that should be used in edxapp to process
# incoming HTTP resquests. Should be a list of plain strings that fully
# qualify Python classes or functions that can be used as Django middleware.
EDXAPP_EXTRA_MIDDLEWARE_CLASSES: []
EDXAPP_GOOGLE_ANALYTICS_ACCOUNT: "None"
EDXAPP_OPTIMIZELY_PROJECT_ID: "None"
......@@ -1135,6 +1140,7 @@ generic_env_config: &edxapp_generic_env
POLICY_CHANGE_GRADES_ROUTING_KEY: "{{ EDXAPP_POLICY_CHANGE_GRADES_ROUTING_KEY }}"
PROCTORING_SETTINGS: "{{ EDXAPP_PROCTORING_SETTINGS }}"
EXTRA_MIDDLEWARE_CLASSES: "{{ EDXAPP_EXTRA_MIDDLEWARE_CLASSES }}"
lms_auth_config:
<<: *edxapp_generic_auth
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment