Add emulate_http_request contextmanager for tasks
remove explicit middleware from resolver task Address Gabe's comment Add TODO to define middleware_classes in settings
Showing
- lms/djangoapps/discussion/tasks.py 1 addition, 7 deletionslms/djangoapps/discussion/tasks.py
- lms/djangoapps/discussion/tests/test_tasks.py 1 addition, 5 deletionslms/djangoapps/discussion/tests/test_tasks.py
- openedx/core/djangoapps/schedules/tasks.py 2 additions, 12 deletionsopenedx/core/djangoapps/schedules/tasks.py
- openedx/core/lib/celery/task_utils.py 8 additions, 1 deletionopenedx/core/lib/celery/task_utils.py
Please register or sign in to comment