app/soc/logic/models/club.py
changeset 871 0ec74865eb5e
parent 868 8d3c1ee6eba7
child 882 267e31f1a0b6
equal deleted inserted replaced
870:ef210c2b54f1 871:0ec74865eb5e
    54       # only if there is an application send out the invites
    54       # only if there is an application send out the invites
    55       properties = {
    55       properties = {
    56           'scope': entity,
    56           'scope': entity,
    57           'scope_path': entity.key().name(),
    57           'scope_path': entity.key().name(),
    58           'role': 'club_admin',
    58           'role': 'club_admin',
       
    59           'group_accepted': True,
    59           }
    60           }
    60 
    61 
    61       for admin in [application.applicant, application.backup_admin]:
    62       for admin in [application.applicant, application.backup_admin]:
    62         properties['link_id'] = admin.link_id
    63         properties['link_id'] = admin.link_id
    63         key_fields = request_logic.logic.getKeyFieldsFromDict(properties)
    64         key_fields = request_logic.logic.getKeyFieldsFromDict(properties)