settings refactored to be more compliant with django-cookiecutter template