app/soc/views/document/list.py
changeset 500 44ea4620c5c0
parent 482 839740b061ad
equal deleted inserted replaced
499:d22e4fe8e64b 500:44ea4620c5c0
    41 def all(request, page_name=None, templates={}):
    41 def all(request, page_name=None, templates={}):
    42   """Show a list of all Documents (limit rows per page).
    42   """Show a list of all Documents (limit rows per page).
    43   
    43   
    44   Args:
    44   Args:
    45     request: the standard Django HTTP request object
    45     request: the standard Django HTTP request object
    46     page: a soc.logic.site.page.Page object which is abstraction that combines 
    46     page_name: the page name displayed in templates as page and header title
    47       a Django view with sidebar menu info
       
    48     template: the "sibling" template (or a search list of such templates)
    47     template: the "sibling" template (or a search list of such templates)
    49       from which to construct an alternate template name (or names)
    48       from which to construct an alternate template name (or names)
    50 
    49 
    51   Returns:
    50   Returns:
    52     A subclass of django.http.HttpResponse which either contains the form to
    51     A subclass of django.http.HttpResponse which either contains the form to