app/soc/views/models/group.py
changeset 1990 fea8bdb43992
parent 1963 81a5926b6109
child 2076 1cd180cc56c9
equal deleted inserted replaced
1989:3fa3384b5378 1990:fea8bdb43992
    89 
    89 
    90     new_params['list_row'] = 'soc/group/list/row.html'
    90     new_params['list_row'] = 'soc/group/list/row.html'
    91     new_params['list_heading'] = 'soc/group/list/heading.html'
    91     new_params['list_heading'] = 'soc/group/list/heading.html'
    92 
    92 
    93     new_params['create_extra_dynaproperties'] = {
    93     new_params['create_extra_dynaproperties'] = {
    94        'clean_phone': cleaning.clean_numeric_only('phone'),
    94        'clean_phone': cleaning.clean_phone_number('phone'),
    95        'clean_contact_street': cleaning.clean_ascii_only('contact_street'),
    95        'clean_contact_street': cleaning.clean_ascii_only('contact_street'),
    96        'clean_contact_city': cleaning.clean_ascii_only('contact_city'),
    96        'clean_contact_city': cleaning.clean_ascii_only('contact_city'),
    97        'clean_contact_state': cleaning.clean_ascii_only('contact_state'),
    97        'clean_contact_state': cleaning.clean_ascii_only('contact_state'),
    98        'clean_contact_postalcode': cleaning.clean_ascii_only('contact_postalcode'),
    98        'clean_contact_postalcode': cleaning.clean_ascii_only('contact_postalcode'),
    99        'clean_shipping_street': cleaning.clean_ascii_only('shipping_street'),
    99        'clean_shipping_street': cleaning.clean_ascii_only('shipping_street'),