app/soc/views/site/docs/list.py
changeset 358 843d83b87282
parent 316 9efdc7bc3565
child 365 74dec172944e
--- a/app/soc/views/site/docs/list.py	Thu Oct 16 15:12:00 2008 +0000
+++ b/app/soc/views/site/docs/list.py	Thu Oct 16 15:22:41 2008 +0000
@@ -37,11 +37,13 @@
 DEF_SITE_DOCS_LIST_ALL_TMPL = 'soc/site/docs/list/all.html'
 
 
-def all(request, template=DEF_SITE_DOCS_LIST_ALL_TMPL):
+def all(request, page=None, template=DEF_SITE_DOCS_LIST_ALL_TMPL):
   """Show a list of all Documents (limit rows per page).
   
   Args:
     request: the standard Django HTTP request object
+    page: a soc.logic.site.page.Page object which is abstraction that combines 
+      a Django view with sidebar menu info
     template: the "sibling" template (or a search list of such templates)
       from which to construct an alternate template name (or names)