Ignore:
Timestamp:
23 Jun 2016, 11:26:13 (8 years ago)
Author:
Henrik Bettermann
Message:

Do not export all attributes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/applicants/export.py

    r13095 r13982  
    2020import grok
    2121from waeup.kofa.applicants.interfaces import IApplicantBaseData
     22from waeup.kofa.utils.helpers import iface_names
    2223from kofacustom.nigeria.applicants.export import NigeriaApplicantExporter
    2324from kofacustom.nigeria.applicants.interfaces import INigeriaUGApplicant
     
    2930
    3031    fields = tuple(sorted(set(
    31         ICustomUGApplicant.names() +
    32         #INigeriaUGApplicant.names() +
    33         IApplicantBaseData.names()
    34         )))
     32        iface_names(ICustomUGApplicant) +
     33        #iface_names(INigeriaUGApplicant) +
     34        iface_names(IApplicantBaseData)
     35        ))) + (
     36        'password', 'state', 'history', 'container_code', 'application_number',
     37        'display_fullname', 'application_date')
Note: See TracChangeset for help on using the changeset viewer.