Deprecate old embargo implementation.
The new "country access" implementation replaces the old implementation. Middleware and tests have been updated accordingly, but deprecated models are preserved for backwards compatibility.
Showing
- cms/envs/common.py 2 additions, 4 deletionscms/envs/common.py
- cms/urls.py 0 additions, 1 deletioncms/urls.py
- common/djangoapps/course_modes/tests/test_views.py 2 additions, 2 deletionscommon/djangoapps/course_modes/tests/test_views.py
- common/djangoapps/embargo/admin.py 2 additions, 47 deletionscommon/djangoapps/embargo/admin.py
- common/djangoapps/embargo/api.py 2 additions, 2 deletionscommon/djangoapps/embargo/api.py
- common/djangoapps/embargo/forms.py 6 additions, 61 deletionscommon/djangoapps/embargo/forms.py
- common/djangoapps/embargo/middleware.py 44 additions, 304 deletionscommon/djangoapps/embargo/middleware.py
- common/djangoapps/embargo/models.py 4 additions, 0 deletionscommon/djangoapps/embargo/models.py
- common/djangoapps/embargo/tests/test_api.py 3 additions, 3 deletionscommon/djangoapps/embargo/tests/test_api.py
- common/djangoapps/embargo/tests/test_forms.py 24 additions, 113 deletionscommon/djangoapps/embargo/tests/test_forms.py
- common/djangoapps/embargo/tests/test_middleware.py 127 additions, 291 deletionscommon/djangoapps/embargo/tests/test_middleware.py
- common/djangoapps/embargo/tests/test_middleware_access_rules.py 0 additions, 175 deletions.../djangoapps/embargo/tests/test_middleware_access_rules.py
- common/djangoapps/embargo/tests/test_views.py 1 addition, 1 deletioncommon/djangoapps/embargo/tests/test_views.py
- common/djangoapps/enrollment/tests/test_views.py 3 additions, 3 deletionscommon/djangoapps/enrollment/tests/test_views.py
- common/djangoapps/student/tests/test_enrollment.py 3 additions, 3 deletionscommon/djangoapps/student/tests/test_enrollment.py
- common/djangoapps/student/views.py 0 additions, 15 deletionscommon/djangoapps/student/views.py
- common/djangoapps/third_party_auth/tests/test_change_enrollment.py 3 additions, 3 deletions...angoapps/third_party_auth/tests/test_change_enrollment.py
- lms/djangoapps/shoppingcart/tests/test_views.py 2 additions, 2 deletionslms/djangoapps/shoppingcart/tests/test_views.py
- lms/djangoapps/student_account/test/test_views.py 2 additions, 2 deletionslms/djangoapps/student_account/test/test_views.py
- lms/djangoapps/verify_student/tests/test_views.py 3 additions, 3 deletionslms/djangoapps/verify_student/tests/test_views.py
Please register or sign in to comment