>>> from django import forms >>> f = forms.DatetimeField(field_name='dt') >>> f.html2python("") >>> f.html2python(None) Traceback (most recent call last): File "<console>", line 1, in ? File "/usr/lib/python2.3/site-packages/Django-0.95-py2.3.egg/django/forms/__init__.py", line 779, in html2python date, time = data.split() AttributeError: 'NoneType' object has no attribute 'split'
Should f.html2python(None) return None? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---