Get edit and delete links in your django admin. A utility class to let your model admins inherit from.
Project description
Widget for displaying edit and delete links alongside foreign key admin widgets
![Flowers](https://github.com/benjaoming/django-relatedadminwidget/raw/master/screenshot.png)
Installation:
Put relatedwidget folder in your project folder.
Add “relatedwidget” to settings.INSTALLED_APPS
In your other application’s admin.py, let the model admins inherit from RelatedWidgetWrapperBase like in this example:
from relatedwidget import RelatedWidgetWrapperBase
- class MyModelAdmin(RelatedWidgetWrapperBase, admin.ModelAdmin):
pass
admin.site.register(MyModel, MyModelAdmin)
It also works with TabularInline and StackedInline! Remember the order of inheritence, always put RelatedWidgetWrapperBase first!