#13165: Display edit link beside add button for ForeignKey fields in admin
-------------------------------------+-------------------------------------
Reporter: DrMeers | Owner: stefanw
Type: New feature | Status: assigned
Component: contrib.admin | Version: SVN
Severity: Normal | Resolution:
Keywords: admin foreign key | Triage Stage: Accepted
edit link | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 0 | UI/UX: 1
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by anonymous):
Here's a little something I implemented for a project. It adds the edit /
delete link and enable / disable them when nothing is selected. Plus
saving an object after deleting (via popup) updates the repr of the object
in the select box.
* [http://dl.dropbox.com/u/2759157/empty.png]
* [http://dl.dropbox.com/u/2759157/selected.png]
* [http://www.youtube.com/watch?v=H4xqku-BPBU] A short demo
The code can be found on django snippet at
[http://djangosnippets.org/snippets/2562/]. I think we should consider
adding the delete link also.
--
Ticket URL: <https://code.djangoproject.com/ticket/13165#comment:39>
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 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.