Django aggregate functions which operate conditionally (i.e. generate SQL
CASE statements) ...useful when combining aggregate functions with a
GROUP BY clause. eg
For Django 1.5/1.6 only.
(From Django 1.8 onwards this feature is now provided by the Django ORM)
Helpers for executing Django app code concurrently within Django tests.
If you're using SQLite in your tests then this workaround is not needed. But at Depop we had a suite of integration tests running against actual Postgres and Mongo servers and this utility helped us to reproduce several race conditions and confirm when successfully fixed.
Django cache backends supporting CAS (compare-and-set) operation. Memcache, Redis and Dummy backends. CAS allows updating a value without risk of race condition bugs.
ExclusiveBooleanField which is a boolean (database) field where only one row in the table (or optionally, a subset of rows based on value of other fields) is
True and all the other rows are