Confirmed it's a bug in django-cache-machine, it was fixed in https://github.com/jbalogh/django-cache-machine/pull/16 but the version we are using is older than that :(