runtests adapted for Django 1.7.
Merge remote-tracking branch 'origin/master'