#26917: Disabled ModelChoiceFields crash in Django 1.10
---------------------------------+------------------------------------
Reporter: karyon | Owner: rjschave
Type: Bug | Status: assigned
Component: Forms | Version: 1.10
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Changes (by timgraham):
* cc: claudep (added)
Comment:
Claude, I'm not sure how to proceed here. It seems that the assumption
about "Initial values are supposed to be clean" isn't correct for foreign
keys. They're converted to primary key in `model_to_dict` and (previously)
back to model instances in `clean()`. Now that latter conversion is
skipped.
--
Ticket URL: <https://code.djangoproject.com/ticket/26917#comment:4>
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/064.7570c32da25ff4e59984985ae811f51e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.