#23451: inlineformset_factory with wrong fk_name throws ValueError with wrong
message
----------------------------+----------------------
Reporter: petraszd | Owner: petraszd
Type: Bug | Status: new
Component: Forms | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+----------------------
Because of typo, passing wrong fk_name kwarg causes inlineformset_factory
to throw ValueError with cryptic message:
"unsupported format character ''' (0x27) at index 41"
Instead of nice formatted one: "fk_name 'foo' is not a ForeignKey to
'foo.Foo'."
--
Ticket URL: <https://code.djangoproject.com/ticket/23451>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.a89ca42f502adf8573d4a84d0177c56d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.