Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored July 29, 2011

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  docs/ref/class-based-views.txt
6  docs/ref/class-based-views.txt
@@ -775,9 +775,9 @@ BaseDateListView
775 775
     .. attribute:: allow_empty
776 776
 
777 777
         A boolean specifying whether to display the page if no objects are
778  
-        available. If this is ``False`` and no objects are available, the view
779  
-        will raise a 404 instead of displaying an empty page. By default, this
780  
-        is ``True``.
  778
+        available. If this is ``True`` and no objects are available, the view
  779
+        will display an empty page instead of raising a 404. By default, this
  780
+        is ``False``.
781 781
 
782 782
     .. method:: get_dated_items():
783 783
 

0 notes on commit 7d10875

Please sign in to comment.
Something went wrong with that request. Please try again.