django-relatedadminwidget

Software Screenshot:
django-relatedadminwidget
Software Details:
Version: 0.0.1
Upload Date: 20 Feb 15
Developer: Benjamin Bach
Distribution Type: Freeware
Downloads: 11

Rating: 4.5/5 (Total Votes: 2)

django-relatedadminwidget is a widget for displaying edit and delete links alongside foreign key admin widgets.

Installation:

1.   Put relatedwidget folder in your project folder.

2.   Add "relatedwidget" to settings.INSTALLED_APPS

3.   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!

Requirements:

  • Python
  • Django

Other Software of Developer Benjamin Bach

stopforumspam
stopforumspam

20 Feb 15

django-wiki
django-wiki

20 Feb 15

Comments to django-relatedadminwidget

Comments not found
Add Comment
Turn on images!