app/soc/views/models/user.py
changeset 500 44ea4620c5c0
parent 499 d22e4fe8e64b
child 502 e1e24c0a4e82
equal deleted inserted replaced
499:d22e4fe8e64b 500:44ea4620c5c0
   162   def editSelf(self, request, page_name=None, params=None, **kwargs):
   162   def editSelf(self, request, page_name=None, params=None, **kwargs):
   163     """Displays User self edit page for the entity specified by **kwargs.
   163     """Displays User self edit page for the entity specified by **kwargs.
   164 
   164 
   165     Args:
   165     Args:
   166       request: the standard Django HTTP request object
   166       request: the standard Django HTTP request object
   167       page: a soc.logic.site.page.Page object which is abstraction
   167       page_name: the page name displayed in templates as page and header title
   168         that combines a Django view with sidebar menu info
       
   169       params: a dict with params for this View
   168       params: a dict with params for this View
   170       kwargs: The Key Fields for the specified entity
   169       kwargs: The Key Fields for the specified entity
   171     """
   170     """
   172 
   171 
   173     params = dicts.merge(params, {'edit_template': 'soc/user/edit_self.html'})
   172     params = dicts.merge(params, {'edit_template': 'soc/user/edit_self.html'})