Ticket #16394: 16394.diff
File 16394.diff, 741 bytes (added by , 13 years ago) |
---|
-
docs/ref/class-based-views.txt
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 view779 will raise a 404 instead of displaying an empty page. By default, this780 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