#7499: TimeField may contain the sub-second times but cannot validate them
-------------------------------+--------------------------------------------
          Reporter:  honeyman  |         Owner:  kevin           
            Status:  reopened  |     Milestone:  1.0             
         Component:  Forms     |       Version:  SVN             
        Resolution:            |      Keywords:  time aug22sprint
             Stage:  Accepted  |     Has_patch:  1               
        Needs_docs:  0         |   Needs_tests:  0               
Needs_better_patch:  0         |  
-------------------------------+--------------------------------------------
Changes (by honeyman):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 I almost forgot about this ticket, but it hit me again just now...
 After an "svn update" of Django, I just got "Caught an exception while
 rendering: replace() takes no keyword arguments" in /forms/widgets.py,
 line 311, in render "value = value.replace(microsecond=0)". Seems that I
 was trying to initialize this widget using an unicode string (rather than
 a datetime.time), and it worked perfectly before; but now it fails (cause
 string object also does have a replace() method, with a different syntax
 though). Should it be considered a regression, or does such widget now
 have to be initialized with datetime.time since now?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7499#comment:7>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to