support Django 1.7