#13149: ForeignKeyRawIdWidget doesn't handle invalid values
-------------------------------------------+--------------------------------
Reporter: acdha | Owner: nobody
Status: new | Milestone:
Component: django.contrib.admin | Version: 1.2
Resolution: | Keywords: raw_id_fields
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 1 |
-------------------------------------------+--------------------------------
Comment (by kmtracey):
I do not believe this has been fixed. I still (current trunk) see the
`ValueError` (e.g. "invalid literal for int() with base 10:
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'") when entering a non-integer value
in an integer PK raw-id field.
It would help to move this forward if the proposed patches were attached
as diffs to the ticket rather than inline, and if they included tests.
--
Ticket URL: <http://code.djangoproject.com/ticket/13149#comment:7>
Django <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.