Opened 4 years ago
Closed 4 years ago
#32739 closed Cleanup/optimization (fixed)
Enable timezone handling by default (USE_TZ=True in global settings)
Reported by: | Claude Paroz | Owned by: | Claude Paroz |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
As using timezones is a recommended good practice by the docs, I think we should set USE_TZ=True
in global_settings.py
.
This will also allow to remove a setting from the default project settings template.
To achieve that, we'll have to add a warning during the deprecation period when we detect USE_TZ is not overridden in project settings.
Change History (7)
comment:1 by , 4 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 4 years ago
We might even think of *always* activating timezones (middle-term goal?), but I don't have in mind all possible consequences of such a move.
comment:4 by , 4 years ago
Needs documentation: | set |
---|---|
Needs tests: | set |
Owner: | changed from | to
Status: | new → assigned |
comment:5 by , 4 years ago
Needs documentation: | unset |
---|---|
Needs tests: | unset |
comment:6 by , 4 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:7 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
In 8cd55021:
Fixed #32379 -- Started deprecation toward changing default USE_TZ to True.
OK, yes — 10 years should have been long enough for folks to get used to it 😀 +1.