Removed direct reference to settings.py