I\'ve 2 separate settings files for production and development and a common base.py settings file base.py
SECRET_KEY = r\"!@#$%^&12345
I think you are trying this locally, and don't have the SECRET_KEY setup in your environment.
SECRET_KEY
Set it using
export SECRET_KEY="somesecretvalue"
and then running python manage.py shell --settings=entri.settings.prod should work fine.
python manage.py shell --settings=entri.settings.prod