Greifen Sie auf den Wert in Einstellungen Django zu

#settings.py

EMAIL_PASS = "FOO"

# in any file 
from django.conf import settings 
email_password = settings.EMAIL_PASS #to access that variable.
sandy_codes_py