app/soc/views/models/club_app.py
changeset 986 e9611a2288ca
parent 970 8b5611d5b053
child 1007 3b66772d21a5
equal deleted inserted replaced
985:f0b02777f403 986:e9611a2288ca
   257 
   257 
   258       if status_value in ['accepted', 'rejected', 'ignored']:
   258       if status_value in ['accepted', 'rejected', 'ignored']:
   259         # this application has been properly reviewed update the status
   259         # this application has been properly reviewed update the status
   260         fields = {'status' : status_value}
   260         fields = {'status' : status_value}
   261 
   261 
   262         self._logic.updateModelProperties(entity, fields)
   262         self._logic.updateEntityProperties(entity, fields)
   263         
   263         
   264         if status_value == 'accepted':
   264         if status_value == 'accepted':
   265           # the application has been accepted send out a notification
   265           # the application has been accepted send out a notification
   266           notifications.sendNewClubNotification(entity)
   266           notifications.sendNewClubNotification(entity)
   267 
   267