Added django.setup call as per Django 1.7 app loading interface.
Fixed import to work in Django 1.7.