Code

Changes between Initial Version and Version 1 of Ticket #19312, comment 2


Ignore:
Timestamp:
11/19/12 06:47:25 (17 months ago)
Author:
ramiro
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19312, comment 2

    initial v1  
    11Exactly, the only explicit support Django currently has for TIMESTAMP is the fact that the initial models.py (that, if possible, one should use as a base for a production-ready one) created by inspectdb maps columns having of such data type to !DateTimeField model field. 
    22 
    3 I'm not sure Django needs to to anything extra to even at the ORM the differences between DATETIME and TIMESTAMP DB colimnt types, it may be the case there is no way to model the latter when timezone-support is active or that doing so leads to data loss. 
     3I'm not sure Django needs to to anything extra to even at the ORM the differences between DATETIME and TIMESTAMP DB columnt types, it may be the case there is no way to model the latter when timezone-support is active or that doing so leads to data loss.