Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

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

charettes/django-admin-enhancer

Repository files navigation

django-admin-enhancer

Build Status Coverage Status

Overview

A simple django app that provided change and deletion links to FK fields in the admin before tickets #13163 and #13165 were fixed.

Note that this apps works with 1.4 <= Django < 1.8 since both ticket have been solved and merged into Django 1.8.

Display

Selected

selected

Empty

Usage

The recommended way to install django-admin-enhancer is via pip:

pip install django-admin-enhancer

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