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
This commit is contained in:
parent
9be03fe326
commit
7d10875213
|
@ -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():
|
||||
|
||||
|
|
Loading…
Reference in New Issue