app/soc/views/helper/access.py
changeset 1080 d533408811ba
parent 1074 94bc2a9ae103
child 1085 0afbdd0905ef
equal deleted inserted replaced
1079:be1aacb33b0f 1080:d533408811ba
   706 
   706 
   707     user = user_logic.getForCurrentAccount()
   707     user = user_logic.getForCurrentAccount()
   708 
   708 
   709     properties = {
   709     properties = {
   710         'applicant': user,
   710         'applicant': user,
   711         'status': 'accepted'
   711         'state': 'accepted'
   712         }
   712         }
   713 
   713 
   714     application = app_logic.logic.getForFields(properties, unique=True)
   714     application = app_logic.logic.getForFields(properties, unique=True)
   715 
   715 
   716     if application:
   716     if application: