app/soc/views/user/roles.py
changeset 500 44ea4620c5c0
parent 499 d22e4fe8e64b
child 512 aae25d2b4464
equal deleted inserted replaced
499:d22e4fe8e64b 500:44ea4620c5c0
    35               template='soc/user/roles/dashboard.html'):
    35               template='soc/user/roles/dashboard.html'):
    36   """A per-User dashboard of that User's Roles on the site.
    36   """A per-User dashboard of that User's Roles on the site.
    37 
    37 
    38   Args:
    38   Args:
    39     request: the standard django request object
    39     request: the standard django request object
    40     page: a soc.logic.site.page.Page object which is abstraction that combines 
    40     page_name: the page name displayed in templates as page and header title
    41       a Django view with sidebar menu info
       
    42     link_name: the User's site-unique "link_name" extracted from the URL
    41     link_name: the User's site-unique "link_name" extracted from the URL
    43     template: the template path to use for rendering the template
    42     template: the template path to use for rendering the template
    44 
    43 
    45   Returns:
    44   Returns:
    46     A subclass of django.http.HttpResponse with generated template.
    45     A subclass of django.http.HttpResponse with generated template.
    65            template='soc/user/roles/public.html'):
    64            template='soc/user/roles/public.html'):
    66   """A "general public" view of a User's Roles on the site.
    65   """A "general public" view of a User's Roles on the site.
    67 
    66 
    68   Args:
    67   Args:
    69     request: the standard django request object
    68     request: the standard django request object
    70     page: a soc.logic.site.page.Page object which is abstraction that combines 
    69     page_name: the page name displayed in templates as page and header title
    71       a Django view with sidebar menu info
       
    72     link_name: the User's site-unique "link_name" extracted from the URL
    70     link_name: the User's site-unique "link_name" extracted from the URL
    73     template: the template path to use for rendering the template
    71     template: the template path to use for rendering the template
    74 
    72 
    75   Returns:
    73   Returns:
    76     A subclass of django.http.HttpResponse with generated template.
    74     A subclass of django.http.HttpResponse with generated template.