Added verification in settings.py for dev or prod environment