app/soc/views/models/group.py
changeset 2656 25210120d67b
parent 2160 3f9dd37d98a8
child 2665 1f4acb80fd95
equal deleted inserted replaced
2655:7aedfa3e0dfd 2656:25210120d67b
    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        'email': forms.fields.EmailField(required=True),
    94        'clean_phone': cleaning.clean_phone_number('phone'),
    95        'clean_phone': cleaning.clean_phone_number('phone'),
    95        'clean_contact_street': cleaning.clean_ascii_only('contact_street'),
    96        'clean_contact_street': cleaning.clean_ascii_only('contact_street'),
    96        'clean_contact_city': cleaning.clean_ascii_only('contact_city'),
    97        'clean_contact_city': cleaning.clean_ascii_only('contact_city'),
    97        'clean_contact_state': cleaning.clean_ascii_only('contact_state'),
    98        'clean_contact_state': cleaning.clean_ascii_only('contact_state'),
    98        'clean_contact_postalcode': cleaning.clean_ascii_only(
    99        'clean_contact_postalcode': cleaning.clean_ascii_only(