app/soc/views/site/home.py
changeset 358 843d83b87282
parent 347 52676c696cd4
child 365 74dec172944e
--- a/app/soc/views/site/home.py	Thu Oct 16 15:12:00 2008 +0000
+++ b/app/soc/views/site/home.py	Thu Oct 16 15:22:41 2008 +0000
@@ -38,11 +38,13 @@
 
 DEF_SITE_HOME_PUBLIC_TMPL = 'soc/site/home/public.html'
 
-def public(request, template=DEF_SITE_HOME_PUBLIC_TMPL):
+def public(request, page=None, template=DEF_SITE_HOME_PUBLIC_TMPL):
   """How the "general public" sees the Melange site home page.
 
   Args:
     request: the standard django request object.
+    page: a soc.logic.site.page.Page object which is abstraction that combines 
+      a Django view with sidebar menu info
     template: the template path to use for rendering the template.
 
   Returns: