#7923: Add links when using raw_id_fields in admin
-------------------------------------+------------------------------------
Reporter: julianb | Owner: julianb
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: admin raw_id_fields | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+------------------------------------
Comment (by hobarrera):
> We already do this to show the magnifying glass, I just need to dig
into it a bit. I'll get back on this ASAP.
Scrub that, the magnifying glass to select a related model is also shown
if there are no permissions. There seems to be no clean way of avoiding a
link to a 403 page - but it *is* consistent with the rest of the widget's
behaviour (it's also a bit debatable if it's right to exclude the link or
not).
I'm attaching an updated patch (GitHub is down ATM). It also uses the
current admin site, rather than the default admin instance (which I
noticed right away on my test app which uses several admin instances).
--
Ticket URL: <https://code.djangoproject.com/ticket/7923#comment:19>
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/065.66d439fd59c1f543181ad134da368cfc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.