Django Book 翻译
菜单>:
TOC
返回
原文:
Normally, Django sets the ``os.environ['TZ']`` variable to the time zone you specify in the ``TIME_ZONE`` setting. Thus, all your views and models will automatically operate in the correct time zone. However, if youre using the manually configuring settings (described above in the section titled Using Settings Without Setting DJANGO_SETTINGS_MODULE), Django will *not* touch the ``TZ`` environment variable, and it will be up to you to ensure your processes are running in the correct environment.
翻译:
备注:
译者: