1. Luke Plant
  2. django

Commits

adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 92c0557

Fixed #1195 -- Fixed formfields.TimeField bug introduced in [1872]

  • Participants
  • Parent commits 0f81e41
  • Branches default

Comments (0)

Files changed (1)

File django/core/formfields.py

View file
  • Ignore whitespace
             if (len(part_list) == 2):
                 t = t.replace(microsecond=int(part_list[1]))
             return t
-        except (ValueError, TypeError):
+        except (ValueError, TypeError, AttributeError):
             return None
     html2python = staticmethod(html2python)