app/soc/views/models/group_app.py
changeset 2656 25210120d67b
parent 2235 d97e75574590
equal deleted inserted replaced
2655:7aedfa3e0dfd 2656:25210120d67b
    21     '"Sverre Rabbelier" <sverre@rabbelier.nl>',
    21     '"Sverre Rabbelier" <sverre@rabbelier.nl>',
    22     '"Lennard de Rijk" <ljvderijk@gmail.com>',
    22     '"Lennard de Rijk" <ljvderijk@gmail.com>',
    23   ]
    23   ]
    24 
    24 
    25 
    25 
       
    26 from django import forms
    26 from django import http
    27 from django import http
    27 from django.utils.translation import ugettext
    28 from django.utils.translation import ugettext
    28 
    29 
    29 from soc.logic import cleaning
    30 from soc.logic import cleaning
    30 from soc.logic import dicts
    31 from soc.logic import dicts
    91          'example_text': ugettext('The link_id of the backup admin'),
    92          'example_text': ugettext('The link_id of the backup admin'),
    92          },
    93          },
    93          ]
    94          ]
    94 
    95 
    95     new_params['create_extra_dynaproperties'] = {
    96     new_params['create_extra_dynaproperties'] = {
       
    97         'email': forms.fields.EmailField(required=True),
    96         'clean_backup_admin_link_id': 
    98         'clean_backup_admin_link_id': 
    97             cleaning.clean_users_not_same('backup_admin_link_id'),
    99             cleaning.clean_users_not_same('backup_admin_link_id'),
    98         }
   100         }
    99 
   101 
   100     new_params['edit_extra_dynaproperties'] = {
   102     new_params['edit_extra_dynaproperties'] = {