#11163: admin ForeignKeyRawIdWidget contains incorrect link when used in change
list view
-----------------------------------------------+----------------------------
Reporter: [email protected] | Owner: nobody
Status: reopened | Milestone:
Component: django.contrib.admin | Version: SVN
Resolution: | Keywords: raw_id_fields
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
-----------------------------------------------+----------------------------
Comment (by zbyte64):
Caution about the reverse method, if the model that the foreignkey does
not exist in the current admin (possibly registered in a different admin
for instance) then it will raise an error. If this error occurs we should
catch it and not render the magnifying glass or fallback to original
functionality. Aside from that the url reverse solution I like the most.
--
Ticket URL: <http://code.djangoproject.com/ticket/11163#comment:14>
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.