Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

access the value in settings django

#settings.py

EMAIL_PASS = "FOO"

# in any file 
from django.conf import settings 
email_password = settings.EMAIL_PASS #to access that variable.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #access #settings #django
ADD COMMENT
Topic
Name
7+3 =