mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-04-13 19:31:06 +00:00
Updated readme with instructions for extending the inline change form templates.
This commit is contained in:
parent
469e7d5d4d
commit
0e390d8e22
1 changed files with 9 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue