Fix running the tests against Django 1.7.