diff options
| author | Raffaele Salmaso <raffaele@salmaso.org> | 2017-01-12 17:06:00 +0100 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2018-02-28 08:49:40 +0100 |
| commit | 5cc28dc752c3ae78456bb835c3ba195489fc26d7 (patch) | |
| tree | dabc737b959f842c880d01542e48eb0dfe079cc5 /docs/ref | |
| parent | 6e52e2554dcc902b446f9d371ed1e6a07f36d6ec (diff) | |
Fixed #27728 -- Allowed overriding admin templatetags templates.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index d1138076ff..5ea78d2278 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -2680,12 +2680,28 @@ Templates which may be overridden per app or model Not every template in ``contrib/admin/templates/admin`` may be overridden per app or per model. The following can: +* ``actions.html`` * ``app_index.html`` * ``change_form.html`` +* ``change_form_object_tools.html`` * ``change_list.html`` +* ``change_list_object_tools.html`` +* ``change_list_results.html`` +* ``date_hierarchy.html`` * ``delete_confirmation.html`` * ``object_history.html`` +* ``pagination.html`` * ``popup_response.html`` +* ``prepopulated_fields_js.html`` +* ``search_form.html`` +* ``submit_line.html`` + +.. versionchanged:: 2.1 + + The ability to override the ``actions.html``, ``change_form_object_tools.html``, + ``change_list_object_tools.html``, ``change_list_results.html``, + ``date_hierarchy.html``, ``pagination.html``, ``prepopulated_fields_js.html``, + ``search_form.html``, ``submit_line.html`` templates were added. For those templates that cannot be overridden in this way, you may still override them for your entire project. Just place the new version in your |
