Changeset 2520 for WAeUP_SRP/base


Ignore:
Timestamp:
4 Nov 2007, 00:24:54 (17 years ago)
Author:
Henrik Bettermann
Message:

application layouts adjusted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r2514 r2520  
    12121212    ###)
    12131213
    1214     security.declareProtected(ModifyPortalContent,'mass_create_applicant') ###(
    1215     def mass_create_applicant(self,mapping):
     1214    security.declareProtected(ModifyPortalContent,'mass_create_application') ###(
     1215    def mass_create_application(self,mapping):
    12161216        #import pdb;pdb.set_trace()
    12171217        try:
     
    12221222    ###)
    12231223
    1224     security.declareProtected(ModifyPortalContent,'mass_edit_applicant') ###(
    1225     def mass_edit_applicant(self,mapping):
     1224    security.declareProtected(ModifyPortalContent,'mass_edit_application') ###(
     1225    def mass_edit_application(self,mapping):
    12261226        #import pdb;pdb.set_trace()
    12271227        reg_no = mapping.get('reg_no')
     
    12401240            self._v_courses = {}
    12411241            for brain in res:
    1242                 self._v_courses[brain.code] = brain 
     1242                self._v_courses[brain.code] = brain
    12431243        course_id = mapping.get('code')
    12441244        if course_id not in self._v_courses.keys():
     
    12731273        #     self._v_courses = {}
    12741274        #     for brain in res:
    1275         #         self._v_courses[brain.code] = brain 
     1275        #         self._v_courses[brain.code] = brain
    12761276        # course_id = mapping.get('code')
    12771277        # if course_id not in self._v_courses.keys():
     
    16651665                total_imported += 1
    16661666                logger.info("%(total_imported)d of %(total)d %(em)s" % vars())
    1667            
     1667
    16681668            if total and not total % 100:
    16691669                transaction.commit()
Note: See TracChangeset for help on using the changeset viewer.