Changes between Initial Version and Version 1 of Ticket #2611


Ignore:
Timestamp:
Aug 30, 2006, 11:08:53 PM (18 years ago)
Author:
Adrian Holovaty
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2611 – Description

    initial v1  
    11If you try to serialize a Django object to XML (JSON serialization is fine) that has a null datetime field, you get the following error:
    22
     3{{{
    34Traceback (most recent call last):
    45  File "<stdin>", line 1, in ?
     
    1516 in get_string_value
    1617    value = getattr(obj, field.name).strftime("%Y-%m-%d %H:%M:%S")
     18}}}
Back to Top