Changed settings so that the user is warned of missing settings.py
Added missing warnings import
Removed settings.configure and setting of environment variable