Added django.setup() to setup_django function (required with Django 1.7).