Replace old page parameter doc string description with new one for page_name.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Mon, 17 Nov 2008 12:18:09 +0000
changeset 500 44ea4620c5c0
parent 499 d22e4fe8e64b
child 501 be89bf307478
Replace old page parameter doc string description with new one for page_name. Patch by: Pawel Solyga
app/soc/views/document/edit.py
app/soc/views/document/list.py
app/soc/views/document/show.py
app/soc/views/home.py
app/soc/views/models/base.py
app/soc/views/models/role.py
app/soc/views/models/site_settings.py
app/soc/views/models/user.py
app/soc/views/person/profile.py
app/soc/views/settings.py
app/soc/views/simple.py
app/soc/views/site/settings.py
app/soc/views/site/sponsor/list.py
app/soc/views/site/sponsor/profile.py
app/soc/views/site/user/list.py
app/soc/views/site/user/profile.py
app/soc/views/sponsor/profile.py
app/soc/views/user/profile.py
app/soc/views/user/roles.py
--- a/app/soc/views/document/edit.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/document/edit.py	Mon Nov 17 12:18:09 2008 +0000
@@ -111,8 +111,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     template: the "sibling" template (or a search list of such templates)
       from which to construct the public.html template name (or names)
 
@@ -174,8 +173,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     partial_path: the Document's site-unique "path" extracted from the URL,
       minus the trailing link_name
     link_name: the last portion of the Document's site-unique "path"
@@ -283,8 +281,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     partial_path: the Document's site-unique "path" extracted from the URL,
       minus the trailing link_name
     link_name: the last portion of the Document's site-unique "path"
--- a/app/soc/views/document/list.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/document/list.py	Mon Nov 17 12:18:09 2008 +0000
@@ -43,8 +43,7 @@
   
   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
+    page_name: the page name displayed in templates as page and header title
     template: the "sibling" template (or a search list of such templates)
       from which to construct an alternate template name (or names)
 
--- a/app/soc/views/document/show.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/document/show.py	Mon Nov 17 12:18:09 2008 +0000
@@ -44,8 +44,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     partial_path: the Document's site-unique "path" extracted from the URL,
       minus the trailing link_name
     link_name: the last portion of the Document's site-unique "path"
--- a/app/soc/views/home.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/home.py	Mon Nov 17 12:18:09 2008 +0000
@@ -46,8 +46,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     path: path (entire "scoped" portion combined with the link_name)
       used to retrieve the Group's "home" settings
     template: the template path to use for rendering the template
--- a/app/soc/views/models/base.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/models/base.py	Mon Nov 17 12:18:09 2008 +0000
@@ -125,8 +125,7 @@
 
     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
+      page_name: the page name displayed in templates as page and header title
       params: a dict with params for this View
       kwargs: the Key Fields for the specified entity
     """
@@ -168,8 +167,7 @@
 
     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
+      page_name: the page name displayed in templates as page and header title
       params: a dict with params for this View
       kwargs: not used for create()
     """
@@ -197,8 +195,7 @@
 
     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
+      page_name: the page name displayed in templates as page and header title
       params: a dict with params for this View
       kwargs: The Key Fields for the specified entity
     """
@@ -311,8 +308,7 @@
     
     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
+      page_name: the page name displayed in templates as page and header title
       params: a dict with params for this View
     """
 
@@ -352,8 +348,7 @@
 
     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
+      page_name: the page name displayed in templates as page and header title
       params: a dict with params for this View
       kwargs: The Key Fields for the specified entity
     """
--- a/app/soc/views/models/role.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/models/role.py	Mon Nov 17 12:18:09 2008 +0000
@@ -113,8 +113,7 @@
 
     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
+      page_name: the page name displayed in templates as page and header title
       kwargs: the Key Fields for the specified entity
     """
 
@@ -131,8 +130,7 @@
 
     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
+      page_name: the page name displayed in templates as page and header title
       kwargs: the Key Fields for the specified entity
     """
 
@@ -168,8 +166,7 @@
 
     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
+      page_name: the page name displayed in templates as page and header title
       kwargs: the Key Fields for the specified entity
     """
 
--- a/app/soc/views/models/site_settings.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/models/site_settings.py	Mon Nov 17 12:18:09 2008 +0000
@@ -112,7 +112,7 @@
 
     Args:
       request: the standard Django HTTP request object
-      page: a soc.logic.site.page.Page object
+      page_name: the page name displayed in templates as page and header title
       kwargs: not used
     """
 
@@ -127,7 +127,7 @@
 
     Args:
       request: the standard Django HTTP request object
-      page: a soc.logic.site.page.Page object
+      page_name: the page name displayed in templates as page and header title
       kwargs: not used
     """
 
--- a/app/soc/views/models/user.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/models/user.py	Mon Nov 17 12:18:09 2008 +0000
@@ -164,8 +164,7 @@
 
     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
+      page_name: the page name displayed in templates as page and header title
       params: a dict with params for this View
       kwargs: The Key Fields for the specified entity
     """
--- a/app/soc/views/person/profile.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/person/profile.py	Mon Nov 17 12:18:09 2008 +0000
@@ -61,8 +61,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     template: the template path to use for rendering the template.
 
   Returns:
--- a/app/soc/views/settings.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/settings.py	Mon Nov 17 12:18:09 2008 +0000
@@ -113,8 +113,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     path: path that is used to uniquely identify settings
     logic: settings logic object
     settings_form_class: 
--- a/app/soc/views/simple.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/simple.py	Mon Nov 17 12:18:09 2008 +0000
@@ -43,8 +43,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     template: the template to use for rendering the view (or a search list
       of templates)
     link_name: a site-unique "link_name" (usually extracted from the URL)
@@ -88,8 +87,7 @@
   
   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
+    page_name: the page name displayed in templates as page and header title
     error: an out_of_band.ErrorResponse exception
     template: the "sibling" template (or a search list of such templates)
       from which to construct the error.html template name (or names)
@@ -124,8 +122,7 @@
   
   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
+    page_name: the page name displayed in templates as page and header title
     template: the "sibling" template (or a search list of such templates)
       from which to construct the login.html template name (or names)
     login_message_fmt: a custom message format string used to create a
--- a/app/soc/views/site/settings.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/site/settings.py	Mon Nov 17 12:18:09 2008 +0000
@@ -55,8 +55,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     path: path that is used to uniquely identify settings
     logic: settings logic object
     settings_form_class: class which should be used as Site Settings Form
--- a/app/soc/views/site/sponsor/list.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/site/sponsor/list.py	Mon Nov 17 12:18:09 2008 +0000
@@ -42,8 +42,7 @@
   
   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
+    page_name: the page name displayed in templates as page and header title
     template: the "sibling" template (or a search list of such templates)
       from which to construct an alternate template name (or names)
 
--- a/app/soc/views/site/sponsor/profile.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/site/sponsor/profile.py	Mon Nov 17 12:18:09 2008 +0000
@@ -95,8 +95,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     link_name: the Sponsor's site-unique "link_name" extracted from the URL
     template: the "sibling" template (or a search list of such templates)
       from which to construct the public.html template name (or names)
@@ -220,8 +219,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     link_name: the Sponsor's site-unique "link_name" extracted from the URL
     template: the "sibling" template (or a search list of such templates)
       from which to construct the public.html template name (or names)
--- a/app/soc/views/site/user/list.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/site/user/list.py	Mon Nov 17 12:18:09 2008 +0000
@@ -42,8 +42,7 @@
   
   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
+    page_name: the page name displayed in templates as page and header title
     template: the "sibling" template (or a search list of such templates)
       from which to construct an alternate template name (or names)
 
--- a/app/soc/views/site/user/profile.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/site/user/profile.py	Mon Nov 17 12:18:09 2008 +0000
@@ -101,8 +101,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     template: the "sibling" template (or a search list of such templates)
       from which to construct the public.html template name (or names)
 
@@ -268,8 +267,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     link_name: the User's site-unique "link_name" extracted from the URL
     template: the "sibling" template (or a search list of such templates)
       from which to construct the public.html template name (or names)
@@ -423,8 +421,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     template: the "sibling" template (or a search list of such templates)
       from which to construct the public.html template name (or names)
 
--- a/app/soc/views/sponsor/profile.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/sponsor/profile.py	Mon Nov 17 12:18:09 2008 +0000
@@ -42,8 +42,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     link_name: the Sponsor's site-unique "link_name" extracted from the URL
     template: the template path to use for rendering the template
 
--- a/app/soc/views/user/profile.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/user/profile.py	Mon Nov 17 12:18:09 2008 +0000
@@ -95,8 +95,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     link_name: the User's site-unique "link_name" extracted from the URL
     template: the template path to use for rendering the template
 
--- a/app/soc/views/user/roles.py	Mon Nov 17 10:36:35 2008 +0000
+++ b/app/soc/views/user/roles.py	Mon Nov 17 12:18:09 2008 +0000
@@ -37,8 +37,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     link_name: the User's site-unique "link_name" extracted from the URL
     template: the template path to use for rendering the template
 
@@ -67,8 +66,7 @@
 
   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
+    page_name: the page name displayed in templates as page and header title
     link_name: the User's site-unique "link_name" extracted from the URL
     template: the template path to use for rendering the template