#5407: raw_id ForeignKey field behaves like a ManyToManyField
---------------------------+------------------------------------------------
Reporter: jkocherhans | Owner: nobody
Status: new | Component: Admin interface
Version: newforms-admin | Keywords:
Stage: Unreviewed | Has_patch: 0
---------------------------+------------------------------------------------
Using the raw_id popup when the field is already populated results in each
selected if being added with a comma. As a hint, this has to do with the
field having a {{{vRawIdAdminField}}} class, which
{{{RelatedObjectLookup.js}}} hooks on to. We should probably have 2
separate widgets, one for {{{ForeignKey}}} fields, and one for
{{{ManyToManyField}}s. Currently, they use the same raw_id widget.
--
Ticket URL: <http://code.djangoproject.com/ticket/5407>
Django Code <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
-~----------~----~----~----~------~----~------~--~---