﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
435	Exception thrown out when doing do_html2python	Leo Shklovskii	Adrian Holovaty	"I create ad DataTimeField type filed in model file, and show it in a text box on web page. but when I invoke do_html2python before saving the changes to postgresql, a exception was thrown out ""There's been an error:

{{{
Traceback (most recent call last):

  File ""/usr/lib/python2.3/site-packages/django-1.0.0-py2.3.egg/django/core/handlers/base.py"", line 64, in get_response
    response = callback(request, **param_dict)

  File ""/usr/lib/python2.3/site-packages/liveweb/bo/club.py"", line 68, in save
    club_manip.do_html2python(club_changes)

  File ""/usr/lib/python2.3/site-packages/django-1.0.0-py2.3.egg/django/core/formfields.py"", line 98, in do_html2python
    new_data.setlist(field.field_name, [field.__class__.html2python(None)])

  File ""/usr/lib/python2.3/site-packages/django-1.0.0-py2.3.egg/django/core/formfields.py"", line 654, in html2python
    time_tuple = time.strptime(data, '%H:%M:%S')

  File ""/usr/lib/python2.3/_strptime.py"", line 423, in strptime
    found = format_regex.match(data_string)

TypeError: expected string or buffer"".
}}}

Seems that django look it as time field? And this only happend after updating django today(2005.8.30)."	defect	closed	Core (Other)	1.0	normal	worksforme	html2python		Unreviewed	0	0	0	0	0	0
