Quick fix for Django 1.6.