Django

Code

Show
Ignore:
Timestamp:
12/02/07 09:43:35 (1 year ago)
Author:
mtredinnick
Message:

Fixed #685 -- archive_index() and object_list() generic views allow empty
result sets by default now. Thanks, Gary Wilson and Matt Croydon.

This is a backwards incompatible change.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/generic_views.txt

    r6410 r6833  
    189189      objects are available. If this is ``False`` and no objects are available, 
    190190      the view will raise a 404 instead of displaying an empty page. By 
    191       default, this is ``False``. 
     191      default, this is ``True``. 
    192192 
    193193    * ``context_processors``: A list of template-context processors to apply to 
     
    719719      objects are available. If this is ``False`` and no objects are available, 
    720720      the view will raise a 404 instead of displaying an empty page. By 
    721       default, this is ``False``. 
     721      default, this is ``True``. 
    722722 
    723723    * ``context_processors``: A list of template-context processors to apply to