fix cache for dj 1.6
Merge pull request #1 from scailer/master

Fix cache for Django 1.6