summaryrefslogtreecommitdiff
path: root/docs/releases/2.1.txt
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2025-07-25 10:24:17 +0100
committernessita <124304+nessita@users.noreply.github.com>2025-08-25 10:51:10 -0300
commitf81e6e3a53ee36e3f730a71aa55a5744982dd016 (patch)
tree44a4fdd64e2d1489d80b1af8bd1ac3c7af3ad0dd /docs/releases/2.1.txt
parent4286a23df64f6ce3b9b6ed097f4d1aac7d9e0de4 (diff)
Refs #36485 -- Rewrapped docs to 79 columns line length.
Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content.
Diffstat (limited to 'docs/releases/2.1.txt')
-rw-r--r--docs/releases/2.1.txt28
1 files changed, 15 insertions, 13 deletions
diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt
index 4c05e5ae3b..d615d1432a 100644
--- a/docs/releases/2.1.txt
+++ b/docs/releases/2.1.txt
@@ -76,10 +76,11 @@ Minor features
per model <admin-templates-overridden-per-app-or-model>` (besides overridden
globally).
-* The admin change list and change form object tools can now be :ref:`overridden
- per app, per model, or globally <admin-templates-overridden-per-app-or-model>`
- with ``change_list_object_tools.html`` and
- ``change_form_object_tools.html`` templates.
+* The admin change list and change form object tools can now be
+ :ref:`overridden per app, per model, or globally
+ <admin-templates-overridden-per-app-or-model>` with
+ ``change_list_object_tools.html`` and ``change_form_object_tools.html``
+ templates.
* :meth:`.InlineModelAdmin.has_add_permission` is now passed the parent object
as the second positional argument, ``obj``.
@@ -148,8 +149,8 @@ Management Commands
* The :class:`~django.core.management.BaseCommand` class now uses a custom help
formatter so that the standard options like ``--verbosity`` or ``--settings``
- appear last in the help output, giving a more prominent position to subclassed
- command's options.
+ appear last in the help output, giving a more prominent position to
+ subclassed command's options.
Migrations
~~~~~~~~~~
@@ -272,9 +273,9 @@ supports PostgreSQL 9.4 and higher.
Removed ``BCryptPasswordHasher`` from the default ``PASSWORD_HASHERS`` setting
------------------------------------------------------------------------------
-If you used bcrypt with Django 1.4 or 1.5 (before ``BCryptSHA256PasswordHasher``
-was added in Django 1.6), you might have some passwords that use the
-``BCryptPasswordHasher`` hasher.
+If you used bcrypt with Django 1.4 or 1.5 (before
+``BCryptSHA256PasswordHasher`` was added in Django 1.6), you might have some
+passwords that use the ``BCryptPasswordHasher`` hasher.
You can check if that's the case like this::
@@ -382,10 +383,11 @@ Miscellaneous
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.
+ ``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
``iterator()`` if you don't want caching.