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

Do not export all attributes.

File:
1 edited

Legend:

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

    r13861 r13984  
    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 (
     
    3031
    3132    fields = tuple(sorted(set(
    32         INigeriaUGApplicant.names() +
    33         INigeriaPGApplicant.names() +
    34         IApplicantBaseData.names() +
    35         IUnibenRegistration.names()
    36         )))
     33        iface_names(INigeriaUGApplicant) +
     34        iface_names(INigeriaPGApplicant) +
     35        iface_names(IApplicantBaseData) +
     36        iface_names(IUnibenRegistration)
     37        ))) + (
     38        'password', 'state', 'history', 'container_code', 'application_number',
     39        'display_fullname', 'application_date')
    3740
Note: See TracChangeset for help on using the changeset viewer.