From b804f25585606291396ca61714c795bbdf5a231e Mon Sep 17 00:00:00 2001 From: Brandon Taylor Date: Fri, 15 Mar 2013 07:39:35 -0400 Subject: [PATCH] Updated README to include information on generic inline imports. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e1a0ae6..f5f7ea3 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ When a model is sortable, a tool-area link will be added that says "Change Order Click this link, and you will be taken to the custom view where you can drag-and-drop the records into order. -Tabular inlines may be drag-and-dropped into any order directly from the change form. +Inlines may be drag-and-dropped into any order directly from the change form. ## Usage @@ -129,6 +129,12 @@ SortableStackedInline: class MySortableStackedInline(SortableStackedInline): """Your inline options go here""" +There are also generic equivalents that you can inherit from: + + from adminsortable.admin import (SortableGenericTabularInline, + SortableGenericStackedInline) + + *** IMPORTANT *** With stacked inline models, their height can dynamically increase, which can cause sortable stacked inlines to not behave as expected.