app/soc/views/user/roles.py
changeset 298 c76a366c7ab4
parent 99 8c38b546a3cf
child 299 a1cc853a56e5
--- a/app/soc/views/user/roles.py	Fri Oct 10 13:14:24 2008 +0000
+++ b/app/soc/views/user/roles.py	Sun Oct 12 00:08:54 2008 +0000
@@ -31,13 +31,13 @@
 from soc.views.helpers import response_helpers
 
 
-def dashboard(request, linkname=None,
+def dashboard(request, link_name=None,
               template='soc/user/roles/dashboard.html'):
   """A per-User dashboard of that User's Roles on the site.
 
   Args:
     request: the standard django request object.
-    linkname: the User's site-unique "linkname" extracted from the URL
+    link_name: the User's site-unique "link_name" extracted from the URL
     template: the template path to use for rendering the template.
 
   Returns:
@@ -45,7 +45,7 @@
   """
   #TODO(tlarsen): this module is currently a placeholder for future work
   
-  # TODO: check that user is logged in and "owns" the linkname;
+  # TODO: check that user is logged in and "owns" the link_name;
   #   if not, call public() view instead
   #   This might be tricky, since we want to use the same style
   #   of template that was passed to us, but how do we figure out
@@ -58,13 +58,13 @@
       template, {'template': template})
 
 
-def public(request, linkname=None,
+def public(request, link_name=None,
            template='soc/user/roles/public.html'):
   """A "general public" view of a User's Roles on the site.
 
   Args:
     request: the standard django request object.
-    linkname: the User's site-unique "linkname" extracted from the URL
+    link_name: the User's site-unique "link_name" extracted from the URL
     template: the template path to use for rendering the template.
 
   Returns: