app/soc/views/site/sponsor/list.py
changeset 358 843d83b87282
parent 344 d135c8c09967
child 360 5ad9cabb5892
--- a/app/soc/views/site/sponsor/list.py	Thu Oct 16 15:12:00 2008 +0000
+++ b/app/soc/views/site/sponsor/list.py	Thu Oct 16 15:22:41 2008 +0000
@@ -37,8 +37,19 @@
 
 DEF_SITE_SPONSOR_LIST_ALL_TMPL = 'soc/group/list/all.html'
 
-def all(request, template=DEF_SITE_SPONSOR_LIST_ALL_TMPL):
+def all(request, page=None, template=DEF_SITE_SPONSOR_LIST_ALL_TMPL):
   """Show a list of all Sponsors (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)
+
+  Returns:
+    A subclass of django.http.HttpResponse which either contains the form to
+    be filled out, or a redirect to the correct view in the interface.
   """
 
   try: