app/soc/views/user/profile.py
changeset 85 426b4ca2a72a
parent 83 3f4f7c540b75
child 98 b2b823466a8b
equal deleted inserted replaced
84:1b31d238ba39 85:426b4ca2a72a
    44 
    44 
    45     #: list of model fields which will *not* be gathered by the form
    45     #: list of model fields which will *not* be gathered by the form
    46     exclude = ['id']
    46     exclude = ['id']
    47 
    47 
    48 
    48 
    49 def profile(request, linkname=None, template='soc/user/profile.html'):
    49 def edit(request, linkname=None, template='soc/user/profile/edit.html'):
    50   """View for a User to modify the properties of a UserModel.
    50   """View for a User to modify the properties of a UserModel.
    51 
    51 
    52   Args:
    52   Args:
    53     request: the standard django request object.
    53     request: the standard django request object.
    54     template: the template path to use for rendering the template.
    54     template: the template path to use for rendering the template.