views:

136

answers:

1

I can override edit_inline/tabular.html if I save it in my overall template directory ( let's say mysite/templates/admin/edit_inline/tabular.html ) , but when I try to save it with other admin template, like change_form.html ( in mysite/myapp/templates/admin/myapp/mymodel/change_form.html, it doesn't work.

Any thoughts?

Thanks!

A: 

The documentation hints that inlines can have a template attribute. Try setting that to admin/myapp/mymodel/edit_inline/tabular.html and create the corresponding template file in the templates directory of myapp.

akaihola

related questions