Fix missing django.setup() below django 1.7