django/django — pull request #1360 by jaap3 (2013-07-16 15:20:15+00:00)
Title: Use tmpfile + rename for filebased cache backend

Borrowed some code from django.contrib.sessions.backends.file to make the filebased cache backend less error prone in multiprocess setups.