use context processor instead of middleware
Showing
- lms/djangoapps/shoppingcart/context_processor.py 26 additions, 0 deletionslms/djangoapps/shoppingcart/context_processor.py
- lms/djangoapps/shoppingcart/middleware.py 0 additions, 34 deletionslms/djangoapps/shoppingcart/middleware.py
- lms/djangoapps/shoppingcart/tests/test_context_processor.py 16 additions, 21 deletionslms/djangoapps/shoppingcart/tests/test_context_processor.py
- lms/envs/common.py 3 additions, 3 deletionslms/envs/common.py
- lms/templates/navigation.html 1 addition, 1 deletionlms/templates/navigation.html
Please register or sign in to comment