Changeset 1024 for WAeUP_SRP/trunk/skins
- Timestamp:
- 10 Dec 2006, 15:10:32 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/application_edit.py
r1020 r1024 16 16 current = DateTime.DateTime() 17 17 import logging 18 logger = logging.getLogger('Student. Application.Edit')18 logger = logging.getLogger('Student.application_edit') 19 19 20 20 # Until ajax posts directly to its own script... … … 30 30 31 31 if info is None: 32 logger.info('"anonymous access","%s"' % request.get('URL0'))33 REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())32 logger.info('"anonymous access","%s"' % REQUEST.get('URL0')) 33 return REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) 34 34 35 35 student = info['student'] … … 56 56 elif cpsdocument_edit_and_view_button: 57 57 if app_doc.passport is not None: 58 logger.info('"%s", "proceeded to start clearance" % (info['id']))58 logger.info('"%s", "proceeded to start clearance"' % (info['id'])) 59 59 action = "/start_clearance" 60 60 base_url = student.absolute_url()
Note: See TracChangeset for help on using the changeset viewer.