Changes between Initial Version and Version 1 of Ticket #34680


Ignore:
Timestamp:
Jun 26, 2023, 9:11:42 PM (15 months ago)
Author:
Neil McKenzie
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34680 – Description

    initial v1  
    1 When using inspectdb on a MySQL database timestamp columns in MySQL are generated as DateTime fields in Django models. On the surface this appears to work, however, MySQL makes timezone adjustments for timestamps and not for datetimes.
     1When using inspectdb on a MySQL database timestamp columns are generated as DateTime fields in Django models. On the surface this appears to work, however, MySQL makes timezone adjustments for timestamps and not for datetimes.
    22
    33Since Django expects these columns to be datetime, if the server timezone is changed, incorrect dates/times are returned. I saw this in the wild with
Back to Top