#14320 closed (fixed)
MySQL documentation needs to note lack of support for timezone info...
Reported by: | RantyDave | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.2 |
Severity: | Keywords: | MySQL datetime DateTimeField | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The current (5.1.50) version of MySQL has no support for timezone information in date fields. Python does and an attempt to write a models.DateTimeField that contains timezone information fails and throws a ValueError('MySQL backend does not support timezone-aware datetimes.',).
All I'm suggesting is that the documentation at http://docs.djangoproject.com/en/1.2/ref/databases/#notes-on-specific-fields makes note of this.
Attachments (1)
Change History (5)
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Accepted |
---|
by , 14 years ago
Attachment: | mysql-timezone.diff added |
---|
Patch to docs to mention MySQL timezone limitation.
comment:2 by , 14 years ago
Has patch: | set |
---|
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 14 years ago
Note:
See TracTickets
for help on using tickets.
Seems reasonable. This probably should've been added way back when #5304 was closed...