diff options
author | Marcelo Galigniana <marcelogaligniana@gmail.com> | 2023-04-09 22:30:40 -0300 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-04-12 14:02:28 +0200 |
commit | dfc720c521062cdefd64bc48a11838b0fa583439 (patch) | |
tree | 8b38ad33d223e8c56f21a609fe504ac06cef5b92 /docs/releases/5.0.txt | |
parent | 041b0a359a0a80e147b47c6ae5f11bca9dd3b28a (diff) | |
download | django-dfc720c521062cdefd64bc48a11838b0fa583439.tar.gz |
Fixed #27505 -- Allowed customizing Paginator's error messages.
Diffstat (limited to 'docs/releases/5.0.txt')
-rw-r--r-- | docs/releases/5.0.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt index cc4fb69ee3..0d1e7ffda1 100644 --- a/docs/releases/5.0.txt +++ b/docs/releases/5.0.txt @@ -284,6 +284,12 @@ Models :ref:`Choices classes <field-choices-enum-types>` directly instead of requiring expansion with the ``choices`` attribute. +Pagination +~~~~~~~~~~ + +* The new :attr:`django.core.paginator.Paginator.error_messages` argument + allows customizing the error messages raised by :meth:`.Paginator.page`. + Requests and Responses ~~~~~~~~~~~~~~~~~~~~~~ |