app/soc/views/site/settings.py
changeset 358 843d83b87282
parent 351 b37fc4c1e189
child 365 74dec172944e
--- a/app/soc/views/site/settings.py	Thu Oct 16 15:12:00 2008 +0000
+++ b/app/soc/views/site/settings.py	Thu Oct 16 15:22:41 2008 +0000
@@ -95,11 +95,13 @@
 
 DEF_SITE_HOME_EDIT_TMPL = 'soc/site/settings/edit.html'
 
-def edit(request, template=DEF_SITE_HOME_EDIT_TMPL):
+def edit(request, page=None, template=DEF_SITE_HOME_EDIT_TMPL):
   """View for Developer to edit content of 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: