Enable unit completion tracking by default

See discussion:
https://discuss.overhang.io/t/course-not-starting/962/12
This commit is contained in:
Régis Behmo 2020-10-22 15:23:21 +02:00
parent dd0ab446a3
commit d8a4b26884
2 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥".
## Unreleased
- 💥[Improvement] Enable unit completion tracking by default.
- [Bugfix] Run `apt update` before `apt install` when installing deps in the openedx Dockerfile
## v10.3.1 (2020-10-16)

View File

@ -24,4 +24,8 @@ if [ -d /openedx/data/uploads/ ]; then
mv /openedx/data/uploads/* /openedx/media/
rm -rf /openedx/data/uploads/
fi
fi
fi
# Create waffle switches to enable some features, if they have not been explicitely defined before
# Completion tracking: add green ticks to every completed unit
(./manage.py lms waffle_switch --list | grep completion.enable_completion_tracking) || ./manage.py lms waffle_switch --create completion.enable_completion_tracking on