mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #27505 -- Allowed customizing Paginator's error messages.
This commit is contained in:
committed by
Mariusz Felisiak
parent
041b0a359a
commit
dfc720c521
@@ -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
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user