Fixed bug in settings.py.