models.py
8.89 KB
-
CohortMemberships Code Changes · 83163e58
The code changes needed to get CohortMembership functioning properly. The key of this change is twofold: first, CohortMemberships are unique per-user, per-course. This is enforced at the database level. Secondly, the updates are done using a select_for_update, which ensures atomicity.
Eric Fischer committed