Changes between Initial Version and Version 3 of Ticket #14626


Ignore:
Timestamp:
Nov 5, 2010, 1:00:08 PM (14 years ago)
Author:
Alex Gaynor
Comment:

Added formatting.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14626 – Description

    initial v3  
    22Python 2.4.3
    33Oracle 11
    4 
     4{{{
    55class scott_test1(models.Model):
    66    graphic_id = models.IntegerField()
     
    1515
    1616foo.save()
    17 
     17}}}
    1818According to the docs at http://docs.djangoproject.com/en/dev/ref/models/fields/#datefield, foo.df should be a datetime.date object, not datetime.datetime:
    19 
     19{{{
    2020In [7]: foo.df
    2121Out[7]: datetime.datetime(2010, 11, 5, 10, 13, 3, 744903)
     
    2727Out[9]: datetime.time(10, 13, 3, 745130)
    2828
     29}}}
Back to Top