app/soc/views/models/request.py
changeset 1229 ec3768cbf369
parent 1181 6fb4134e1dfc
child 1307 091a21cf3627
equal deleted inserted replaced
1228:b24796279fb9 1229:ec3768cbf369
    86     new_params['save_message'] = [ugettext('Request saved.')]
    86     new_params['save_message'] = [ugettext('Request saved.')]
    87     
    87     
    88     new_params['extra_dynaexclude'] = ['status', 'role_verbose']
    88     new_params['extra_dynaexclude'] = ['status', 'role_verbose']
    89 
    89 
    90     new_params['create_extra_dynafields'] = {
    90     new_params['create_extra_dynafields'] = {
       
    91         'link_id': widgets.ReferenceField(reference_url='user'),
    91         'role': forms.CharField(widget=widgets.ReadOnlyInput(),
    92         'role': forms.CharField(widget=widgets.ReadOnlyInput(),
    92                                    required=True),
    93                                    required=True),
    93         'clean_link_id': cleaning.clean_existing_user('link_id'),
    94         'clean_link_id': cleaning.clean_existing_user('link_id'),
    94         }
    95         }
    95 
    96