Ignore:
Timestamp:
26 Jul 2012, 15:51:50 (12 years ago)
Author:
Henrik Bettermann
Message:

Since no interface has been further customized we do not need a customized exporter.

Also browser tests are not needed. All tests are done in kofacustom.nigeria.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene

  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/applicant.py

    r8933 r9063  
    1919import grok
    2020from zope.interface import implementedBy
    21 from waeup.kofa.applicants.applicant import Applicant, ApplicantFactory
     21from waeup.kofa.applicants.applicant import ApplicantFactory
    2222from waeup.kofa.utils.helpers import attrs_to_fields
     23from kofacustom.nigeria.applicants.applicant import NigeriaApplicant
    2324from waeup.fceokene.applicants.interfaces import(
    2425    ICustomApplicant, ICustomUGApplicantEdit, ICustomPGApplicantEdit, IPUTMEApplicantEdit)
    2526
    26 class CustomApplicant(Applicant):
     27class CustomApplicant(NigeriaApplicant):
    2728
    2829    grok.implements(ICustomApplicant, ICustomUGApplicantEdit,
     
    3031    grok.provides(ICustomApplicant)
    3132
    32     create_names = Applicant.create_names + [
    33         'lga', 'nationality', 'perm_address']
    34 
    35 # Set all attributes of Applicant required in IApplicant as field
     33# Set all attributes of CustomApplicant required in ICustomApplicant as field
    3634# properties. Doing this, we do not have to set initial attributes
    3735# ourselves and as a bonus we get free validation when an attribute is
Note: See TracChangeset for help on using the changeset viewer.