Skip to content

A simple django app that provides change and deletion links to FK fields in the admin

License

Notifications You must be signed in to change notification settings

lucianolev/django-admin-enhancer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-admin-enhancer

Overview

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.

Display

selected

selected

Video displaying interaction with the widget

Usage

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.

About

A simple django app that provides change and deletion links to FK fields in the admin

Resources

License

Stars

Watchers

Forks

Packages

No packages published