app/soc/views/models/user.py
changeset 495 87afae6e4c51
parent 494 5e9c656a1b68
child 499 d22e4fe8e64b
equal deleted inserted replaced
494:5e9c656a1b68 495:87afae6e4c51
   182   def _editGet(self, request, entity, form):
   182   def _editGet(self, request, entity, form):
   183     """See base.View._editGet().
   183     """See base.View._editGet().
   184     """
   184     """
   185     # fill in the email field with the data from the entity
   185     # fill in the email field with the data from the entity
   186     form.fields['email'].initial = entity.account.email()
   186     form.fields['email'].initial = entity.account.email()
   187     
       
   188 
   187 
   189   def _editPost(self, request, entity, fields):
   188   def _editPost(self, request, entity, fields):
   190     """See base.View._editPost().
   189     """See base.View._editPost().
   191     """
   190     """
   192     # fill in the account field with the user created from email
   191     # fill in the account field with the user created from email