From 0e390d8e22cf1656d9995019d3676de212abdab7 Mon Sep 17 00:00:00 2001 From: Brandon Taylor Date: Mon, 25 Nov 2013 22:08:08 -0500 Subject: [PATCH] Updated readme with instructions for extending the inline change form templates. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 8dc18f2..21fa22b 100644 --- a/README.md +++ b/README.md @@ -200,6 +200,15 @@ These properties have default values of: change_form_template_extends = 'admin/change_form.html' change_list_template_extends = 'admin/change_list.html' +If you need to extend the inline change form templates, you'll need to select the right one, depending on your version of Django. For Django 1.5.x or below, you'll need to extend one of the following: + + templates/adminsortable/edit_inline/stacked-1.5.x.html + templates/adminsortable/edit_inline/tabular-inline-1.5.x.html + +For Django 1.6.x, extend: + + templates/adminsortable/edit_inline/stacked.html + templates/adminsortable/edit_inline/tabular.html #### A Special Note About Stacked Inlines... The height of a stacked inline model can dynamically increase,