Fix {% cache %} tag for Django 1.6+