Opened 8 years ago
Closed 8 years ago
#28362 closed Bug (invalid)
Docs incorrectly state that time zone support is disabled by default
| Reported by: | Windson yang | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.11 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
https://docs.djangoproject.com/en/1.11/topics/i18n/timezones/ said
“Time zone support is disabled by default. To enable it, set USE_TZ = True in your settings file.”
But now timezone USE_TZ = True is default setting.
Change History (1)
comment:1 by , 8 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
| Summary: | Time zone support is enable by default → Docs incorrectly state that time zone support is disabled by default |
| Type: | Uncategorized → Bug |
Note:
See TracTickets
for help on using tickets.
The default settings is
django/conf/global_settings.pywhich indeed hasUSE_TZ = False. The note that follows that paragraph clarifies the issue with regards to the defaultsettings.py: