Change EcommerceService's is_enabled to accept User instead of request
. And change the verification link in the sidebar to redirect to new basket if the EcommerceService is enabled.
Showing
- common/djangoapps/course_modes/views.py 2 additions, 2 deletionscommon/djangoapps/course_modes/views.py
- common/djangoapps/student/views.py 1 addition, 1 deletioncommon/djangoapps/student/views.py
- lms/djangoapps/commerce/tests/test_utils.py 3 additions, 4 deletionslms/djangoapps/commerce/tests/test_utils.py
- lms/djangoapps/commerce/utils.py 2 additions, 2 deletionslms/djangoapps/commerce/utils.py
- lms/djangoapps/courseware/date_summary.py 7 additions, 0 deletionslms/djangoapps/courseware/date_summary.py
- lms/djangoapps/courseware/tests/test_date_summary.py 16 additions, 1 deletionlms/djangoapps/courseware/tests/test_date_summary.py
- lms/djangoapps/courseware/tests/test_views.py 2 additions, 4 deletionslms/djangoapps/courseware/tests/test_views.py
- lms/djangoapps/courseware/views.py 2 additions, 2 deletionslms/djangoapps/courseware/views.py
Loading
Please register or sign in to comment