app/soc/views/helper/access.py
changeset 892 c3cdb581ffd2
parent 891 3d40190f35b6
child 895 e70ffd079438
equal deleted inserted replaced
891:3d40190f35b6 892:c3cdb581ffd2
   397 
   397 
   398     user = user_logic.getForCurrentAccount()
   398     user = user_logic.getForCurrentAccount()
   399 
   399 
   400     properties = {
   400     properties = {
   401         'applicant': user,
   401         'applicant': user,
   402         'reviewed': True,
   402         'status': 'accepted'
   403         'accepted': True,
       
   404         'application_completed': False,
       
   405         }
   403         }
   406 
   404 
   407     application = app_logic.logic.getForFields(properties, unique=True)
   405     application = app_logic.logic.getForFields(properties, unique=True)
   408 
   406 
   409     if application:
   407     if application: