Merge pull request #20222 from edx/bmedx/course_enrollment_history

Re-adding django-simple-history for CourseEnrollment
This commit is contained in:
Brian Mesick
2019-05-09 13:02:07 -04:00
committed by GitHub
9 changed files with 116 additions and 27 deletions

View File

@@ -545,6 +545,9 @@ MIDDLEWARE_CLASSES = [
'edx_rest_framework_extensions.auth.jwt.middleware.EnsureJWTAuthSettingsMiddleware',
# Handles automatically storing user ids in django-simple-history tables when possible.
'simple_history.middleware.HistoryRequestMiddleware',
# This must be last so that it runs first in the process_response chain
'openedx.core.djangoapps.site_configuration.middleware.SessionCookieDomainOverrideMiddleware',
]