Changeset 1016 for WAeUP_SRP/trunk/skins/waeup_student/application_edit.py
- Timestamp:
- 8 Dec 2006, 19:38:39 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/application_edit.py
r892 r1016 15 15 import DateTime 16 16 current = DateTime.DateTime() 17 import logging 18 logger = logging.getLogger('Student.Application.Edit') 17 19 18 20 # Until ajax posts directly to its own script... … … 27 29 info = context.getStudentInfo() 28 30 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()) 34 29 35 student = info['student'] 30 36 app = info['app'] … … 50 56 elif cpsdocument_edit_and_view_button: 51 57 if app_doc.passport is not None: 58 logger.info('"%s", "continue' % (info['id'])) 52 59 action = "/start_clearance" 53 60 base_url = student.absolute_url()
Note: See TracChangeset for help on using the changeset viewer.