app/soc/views/document/show.py
changeset 500 44ea4620c5c0
parent 482 839740b061ad
child 512 aae25d2b4464
equal deleted inserted replaced
499:d22e4fe8e64b 500:44ea4620c5c0
    42            template=DEF_DOCS_PUBLIC_TMPL):
    42            template=DEF_DOCS_PUBLIC_TMPL):
    43   """How the "general public" sees a Document.
    43   """How the "general public" sees a Document.
    44 
    44 
    45   Args:
    45   Args:
    46     request: the standard django request object
    46     request: the standard django request object
    47     page: a soc.logic.site.page.Page object which is abstraction that combines 
    47     page_name: the page name displayed in templates as page and header title
    48       a Django view with sidebar menu info
       
    49     partial_path: the Document's site-unique "path" extracted from the URL,
    48     partial_path: the Document's site-unique "path" extracted from the URL,
    50       minus the trailing link_name
    49       minus the trailing link_name
    51     link_name: the last portion of the Document's site-unique "path"
    50     link_name: the last portion of the Document's site-unique "path"
    52       extracted from the URL
    51       extracted from the URL
    53     template: the "sibling" template (or a search list of such templates)
    52     template: the "sibling" template (or a search list of such templates)