Changeset 7100 for main/waeup.sirp/trunk/src
- Timestamp:
- 13 Nov 2011, 06:27:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/viewlets.py
r7097 r7100 8 8 from waeup.sirp.students.browser import ( 9 9 StudentClearanceDisplayFormPage, StudentClearanceManageFormPage) 10 from waeup.sirp.students.interfaces import IStudentClearance 10 11 11 12 grok.context(IWAeUPObject) # Make IWAeUPObject the default context … … 224 225 """ 225 226 grok.baseclass() 227 grok.context(IStudentClearance) 226 228 grok.viewletmanager(FileManager) 227 229 grok.view(StudentClearanceDisplayFormPage) … … 237 239 """ 238 240 grok.baseclass() 241 grok.context(IStudentClearance) 239 242 grok.viewletmanager(FileManager) 240 243 grok.view(StudentClearanceManageFormPage) … … 252 255 upload, self.context, self.view, self.mus, self.attr) 253 256 if file_changed is False: # False is not None! 254 self. redirect(self.view.url(self.context))257 self.view.redirect(self.view.url(self.context)) 255 258 return # error during image upload. Ignore other values 256 259 else:
Note: See TracChangeset for help on using the changeset viewer.