A simple django app that provides change and deletion links to FK fields in the admin while ticket #13163 and #13165 are not fixed.
Note that this apps works with django >= 1.4 only.
Video displaying interaction with the widget
First, add 'admin_enhancer'
to your INSTALLED_APPS
to avoid getting
TemplateDoesNotExist
errors.
Make sure to mix EnhancedModelAdminMixin
when dealing with
django.contrib.admin.ModelAdmin
subclasses and
EnhancedAdminMixin
when dealing with
django.contrib.admin.InlineModelAdmin
at both ends of the relationship.
The mixins are located at admin_enhancer.admin
.
If edition and deletion controls appears but the popup is not closed nor is the
select box updated your ModelAdmin
subclass referenced by the field in
question is probably not mixed with EnhancedModelAdminMixin
.
For some examples take a look here.