4 ms·
For me, the latest django defaults to "TIME_ZONE = 'UTC'" in the settings.py.
by echoangle 1y ago
For me, the latest django defaults to "TIME_ZONE = 'UTC'" in the settings.py.
- jgalt212 1y agoI wonder what version they swapped it.
- throw0101a 1y ago"settings.py" is your local configuration. The global default is still Chicago: * https://github.com/django/django/blob/main/django/conf/global_settings.py#L41 https://github.com/django/django/blob/main/django/conf/globa...
- echoangle 1y agosettings.py is automatically generated when creating a new project and overrides this global default. If you create a new django project and run it, it uses UTC.