#7028: Better raw_id_fields feedback in newform-admins branch
---------------------------------------------------+------------------------
Reporter: Marcob <[email protected]> | Owner: nobody
Status: new | Milestone: 1.2
Component: django.contrib.admin | Version: SVN
Resolution: | Keywords:
raw-id-fields nfa-someday
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Changes (by mrts):
* needs_better_patch: 1 => 0
Comment:
The linked label should properly update now both when objects are added
and changed via the popup, so all the required functionality should be
there.
Marco and others who are interested in this, please test and report any
problems you notice (e.g. I haven't tried in IE).
I'll leave it into "more tests needed" state as of now -- the
`options.py:response_change():elif request.POST.has_key("_popup")` path
needs testing as do quirky PKs and other corner cases.
> Another minor glitch is that I have a table with a FK on a table of
hierarchical codes that has a "self" FK. When I open the first popup
window and I click on the inside label for
> the "self" FK I don't get another popup but it opens in the same window.
I'm not sure if it's better in this way or to open a new window but to
obtain this behaviour it's enough
> to name the window with the id of the object.
I'd say handling this is not worth the effort. But you are most welcome to
tinker with the case.
--
Ticket URL: <http://code.djangoproject.com/ticket/7028#comment:38>
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.