SEX = [('M', 'Male'),
       ('F', 'Female')]

ID = [('passport', 'Passport'),
      ('id_card', 'ID Card'),
      ('green_card', 'Permanent Resident Card'),
      ('residence_permit', 'Residence Permit'),
      ('other', 'Other')]

FILEALLOWED = tuple(
    '''txt jpg jpe jpeg png gif svg bmp rtf
    odf ods gnumeric abw doc docx xls xlsx
    csv ini json plist xml yaml yml gz bz2
    zip tar tgz txz 7z pdf'''.split())

SEX = [('M', 'Male'),
       ('F', 'Female')]

ID = [('passport', 'Passport'),
      ('id_card', 'ID Card'),
      ('green_card', 'Permanent Resident Card'),
      ('residence_permit', 'Residence Permit'),
      ('other', 'Other')]

FILEALLOWED = tuple(
    '''txt jpg jpe jpeg png gif svg bmp rtf
    odf ods gnumeric abw doc docx xls xlsx
    csv ini json plist xml yaml yml gz bz2
    zip tar tgz txz 7z pdf'''.split())

txt jpg jpe jpeg png gif svg bmp rtf     odf ods gnumeric abw doc docx xls xlsx     csv ini json plist xml yaml yml gz bz2     zip tar tgz txz 7z pdf