Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django get settings

from django.conf import settings 

settings.VARIABLE_NAME

# NOTE - VARIABLE should be in capital letter. 
# It will not work otherwise.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #settings
ADD COMMENT
Topic
Name
5+5 =