开发者

What is the difference between django.conf.settings and global_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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜