Fix running tests in django 1.6

This let me install django sorter and run tests in django 1.6.