#31663: DecimalField.to_python() raises TypeError on dict values. -------------------------------------+------------------------------------- Reporter: Sasha Pachev | Owner: Sasha | Pachev Type: Bug | Status: closed Component: Database layer | Version: 3.1 (models, ORM) | Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>): In [changeset:"21adaffb6ebe7513c355f49a1628d11df5825800" 21adaffb]: {{{ #!CommitTicketReference repository="" revision="21adaffb6ebe7513c355f49a1628d11df5825800" [3.1.x] Fixed #31663 -- Made DecimalField.to_python() handle non-numeric invalid values. Backport of 38a21f2d9ed4f556af934498ec6a242f6a20418a from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/31663#comment:3> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.f59c39df12dc612f23e2735d40cac745%40djangoproject.com.