Changeset 7113 for main/waeup.sirp/trunk
- Timestamp:
- 15 Nov 2011, 07:55:37 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/__init__.py
r7063 r7113 10 10 ApplicantsRoot, get_applicant_data, application_exists, 11 11 ) 12 from waeup.sirp.applicants.securitypolicy import ( 13 ApplicantSecurityMap, ApplicantPrincipalRoleManager,) 12 14 13 15 __all__ = [ … … 17 19 'ApplicantImageNameChooser', 18 20 'ApplicantImageStoreHandler', 21 'ApplicantPrincipalRoleManager', 22 'ApplicantSecurityMap', 19 23 'ApplicantsContainer', 20 24 'ApplicantsRoot', -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r7094 r7113 545 545 grok.context(IApplicant) 546 546 grok.name('index') 547 grok.require('waeup. handleApplication')547 grok.require('waeup.viewApplication') 548 548 form_fields = grok.AutoFields(IApplicant).omit( 549 549 'locked').omit('course_admitted') … … 859 859 grok.name('passport.jpg') 860 860 grok.context(IApplicant) 861 grok.require('waeup. handleApplication')861 grok.require('waeup.viewApplication') 862 862 863 863 def render(self): -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
r7088 r7113 93 93 certificate.code = 'CERT1' 94 94 certificate.application_category = 'basic' 95 self.certificate = certificate 95 96 self.app['faculties']['fac1'] = Faculty() 96 97 self.app['faculties']['fac1']['dep1'] = Department() 98 self.department = self.app['faculties']['fac1']['dep1'] 97 99 self.app['faculties']['fac1']['dep1'].certificates.addCertificate( 98 100 certificate)
Note: See TracChangeset for help on using the changeset viewer.