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.
精彩评论