app/soc/views/person/profile.py
changeset 500 44ea4620c5c0
parent 482 839740b061ad
child 512 aae25d2b4464
equal deleted inserted replaced
499:d22e4fe8e64b 500:44ea4620c5c0
    59          template='soc/person/profile/edit.html'):
    59          template='soc/person/profile/edit.html'):
    60   """View for a Person to modify the properties of a Person Model.
    60   """View for a Person to modify the properties of a Person Model.
    61 
    61 
    62   Args:
    62   Args:
    63     request: the standard django request object.
    63     request: the standard django request object.
    64     page: a soc.logic.site.page.Page object which is abstraction that combines 
    64     page_name: the page name displayed in templates as page and header title
    65       a Django view with sidebar menu info
       
    66     template: the template path to use for rendering the template.
    65     template: the template path to use for rendering the template.
    67 
    66 
    68   Returns:
    67   Returns:
    69     A subclass of django.http.HttpResponse which either contains the form to
    68     A subclass of django.http.HttpResponse which either contains the form to
    70     be filled out, or a redirect to the correct view in the interface.
    69     be filled out, or a redirect to the correct view in the interface.