Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get variable from setings django

Try with this: 
from django.conf import settings 
then,
settings.VARIABLE 
to access that variable.

VARIABLE should be in capital letter. It will not work otherwise.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #variable #setings #django
ADD COMMENT
Topic
Name
1+8 =