Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #16394 -- Corrected documentation of the allow_empty option of …

…the BaseDateListView view. Thanks, Aymeric Augustin.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7d1087521313c44192418766cd1c8b0808c37e1a 1 parent 9be03fe
Jannis Leidel jezdez authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/ref/class-based-views.txt
6 docs/ref/class-based-views.txt
View
@@ -775,9 +775,9 @@ BaseDateListView
.. attribute:: allow_empty
A boolean specifying whether to display the page if no objects are
- available. If this is ``False`` and no objects are available, the view
- will raise a 404 instead of displaying an empty page. By default, this
- is ``True``.
+ available. If this is ``True`` and no objects are available, the view
+ will display an empty page instead of raising a 404. By default, this
+ is ``False``.
.. method:: get_dated_items():
Please sign in to comment.
Something went wrong with that request. Please try again.