Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
echoangle
5 months ago
|
parent
|
context
|
favorite
| on:
The Factory Timezone
For me, the latest django defaults to "TIME_ZONE = 'UTC'" in the settings.py.
throw0101a
5 months ago
|
next
[–]
"settings.py" is your local configuration. The global default is still Chicago:
*
https://github.com/django/django/blob/main/django/conf/globa...
echoangle
5 months ago
|
parent
|
next
[–]
settings.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.
jgalt212
5 months ago
|
prev
[–]
I wonder what version they swapped it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: