开发者

What is the difference between django.conf.settings and global_settings?

开发者 https://www.devze.com 2023-04-01 22:33 出处:网络
What is the difference between 开发者_开发技巧django.conf.settings and django.conf.global_settings ? settings is a proxy object that you use in your code to access the settings.

What is the difference between 开发者_开发技巧django.conf.settings and django.conf.global_settings ?


settings is a proxy object that you use in your code to access the settings.

global_settings is a module internal to Django, containing default settings, used when you leave out a variable out of project's settings. I.e. you don't touch it, unless you're changing Django core.

0

精彩评论

暂无评论...
验证码 换一张
取 消