Changes between Initial Version and Version 1 of Ticket #2611
- Timestamp:
- Aug 30, 2006, 11:08:53 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2611 – Description
initial v1 1 1 If you try to serialize a Django object to XML (JSON serialization is fine) that has a null datetime field, you get the following error: 2 2 3 {{{ 3 4 Traceback (most recent call last): 4 5 File "<stdin>", line 1, in ? … … 15 16 in get_string_value 16 17 value = getattr(obj, field.name).strftime("%Y-%m-%d %H:%M:%S") 18 }}}