Skip to content
Snippets Groups Projects
Unverified Commit 9f356b90 authored by Kshitij Sobti's avatar Kshitij Sobti Committed by GitHub
Browse files

feat!: Add data model for course app API [BD-38] [TNL-8506] [BB-4470] (#28165)

* feat!: Add data model for course app API
The current course apps API makes individual queries to determine if a course app is enabled, which can be inefficient. With this change we now have a Django model that contains this information, allowing us to make bulk queries about all the course apps for a course in the API.
It also adds a new signal handler that initialises the status of all course apps in a course on course publish.

* Use celery tasks and a management commands to make cache async

* Review feedback

* update log messages
use separate celery task for each course task
parent bf76fb3f
Branches
Tags
No related merge requests found
Showing
with 300 additions and 6 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment