Ignore:
Timestamp:
1 Apr 2011, 14:27:26 (13 years ago)
Author:
uli
Message:

Really create an applicant on successful authentication. This leads to
a shitload of errors currently, as the applicant default view is not
ready to use yet. But we go on step by step.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py

    r5905 r5910  
    3939    )
    4040from waeup.sirp.browser.breadcrumbs import Breadcrumb
    41 from waeup.sirp.applicants import get_applicant_data, ResultEntry
     41from waeup.sirp.applicants import get_applicant_data, ResultEntry, Applicant
    4242from waeup.sirp.applicants.interfaces import (
    4343    IApplicant, IApplicantPrincipal, IApplicantPDEEditData,
     
    311311        if pin not in self.context.keys():
    312312            # Create applicant record
    313             self.flash("CREATE APPLICANT")
    314             return
    315             raise("Create APPLICANT")
    316313            applicant = Applicant()
    317314            applicant.access_code = pin
Note: See TracChangeset for help on using the changeset viewer.