#34385: BaseTemporalField child fields causing AttributeError to be raised by
calling form.is_valid().
-------------------------------------+-------------------------------------
Reporter: FabioDavidF | Owner: nobody
Type: Bug | Status: closed
Component: Forms | Version: 4.1
Severity: Normal | Resolution: wontfix
Keywords: DateField | Triage Stage:
DateTimeField validation | Unreviewed
AttributeError |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => wontfix
Comment:
Thanks for this ticket, however I don't see anything wrong in this
behavior, `to_python()` accepts the raw value from the widget i.e. string,
and it's not designed to accept anything and never crash. Can you explain
how you ended up with passing `int` to this method?
--
Ticket URL: <https://code.djangoproject.com/ticket/34385#comment:1>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070186a8420094-adb3c5cd-5bb0-4935-a2e3-c9c358a38725-000000%40eu-central-1.amazonses.com.