Fix tests without Django being installed
Merge pull request #112 from hannosch/fix-tests-without-django

Fix tests without Django being installed