Make it to work with the Django 1.6.