📜  djago 获取设置 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:29.764000             🧑  作者: Mango

代码示例1
from django.conf import settings 

settings.VARIABLE_NAME

# NOTE - VARIABLE should be in capital letter. 
# It will not work otherwise.