Added DJANGO_SETTINGS_MODULE variable before importing django.conf