Changes between Initial Version and Version 1 of Ticket #213
- Timestamp:
- Jul 27, 2005, 2:41:18 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #213 – Description
initial v1 1 1 If I try to submit a datetime field in the admin interface, and the time is not provided (I'm setting disabled=true on the field with javascript), I get the following traceback: 2 2 3 {{{ 3 4 Traceback (most recent call last): 4 5 … … 19 20 20 21 TypeError: expected string or buffer 22 }}} 21 23 22 24 Here's a diff against 331 that fixes the problem. (I don't know if this is a use-case you want to deal with, but the fix seems pretty trivial.) 23 25 26 {{{ 24 27 Index: django/core/formfields.py 25 28 =================================================================== … … 35 38 try: 36 39 time_tuple = time.strptime(data, '%H:%M:%S') 40 }}}