django python environment runserver save code example
Example: 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.
#settings.py
EMAIL_PASS = "FOO"
# in any file
from django.conf import settings
email_password = settings.EMAIL_PASS #to access that variable.