Answers for "djago get settings"

0

djago get settings

from django.conf import settings 

settings.VARIABLE_NAME

# NOTE - VARIABLE should be in capital letter. 
# It will not work otherwise.
Posted by: Guest on September-14-2021

Python Answers by Framework

Browse Popular Code Answers by Language