Fixed #29718 -- Doc'd admin template collision backwards incompatibility in Django 2.1.

This commit is contained in:
Tim Graham 2018-08-28 14:40:08 -04:00 committed by GitHub
parent 388165ade4
commit 166dec8406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -377,6 +377,12 @@ Miscellaneous
* The admin CSS class ``field-box`` is renamed to ``fieldBox`` to prevent * The admin CSS class ``field-box`` is renamed to ``fieldBox`` to prevent
conflicts with the class given to model fields named "box". conflicts with the class given to model fields named "box".
* Since the admin's ``actions.html``, ``change_list_results.html``,
``date_hierarchy.html``, ``pagination.html``, ``prepopulated_fields_js.html``,
``search_form.html``, and ``submit_line.html`` templates can now be
overridden per app or per model, you may need to rename existing templates
with those names that were written for a different purpose.
* ``QuerySet.raw()`` now caches its results like regular querysets. Use * ``QuerySet.raw()`` now caches its results like regular querysets. Use
``iterator()`` if you don't want caching. ``iterator()`` if you don't want caching.