./manage.py shell --settings demoproject.settings.test from django.conf import settings settings.SOMETHING # 42