soc/views/person.py
changeset 32 670a4571f496
parent 31 8b43c541afa7
child 39 fa3545f99c02
equal deleted inserted replaced
31:8b43c541afa7 32:670a4571f496
    40     model = person.Person
    40     model = person.Person
    41     #: the list of model fields which will *not* be gathered by the form.
    41     #: the list of model fields which will *not* be gathered by the form.
    42     exclude = ['user', ]
    42     exclude = ['user', ]
    43 
    43 
    44 
    44 
    45 def profile(request, template='soc/profile.html'):
    45 def profile(request, template='soc/person/profile.html'):
    46   """View for a Person to modify the properties of a PersonModel.
    46   """View for a Person to modify the properties of a PersonModel.
    47 
    47 
    48   Args:
    48   Args:
    49     request: the standard django request object.
    49     request: the standard django request object.
    50     template: the template path to use for rendering the template.
    50     template: the template path to use for rendering the template.