- Timestamp:
- 2 Sep 2013, 06:40:49 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/student_statistics.py
r10565 r10575 221 221 grok.name('pdf') 222 222 grok.require('waeup.Public') 223 224 def render(self): 225 filename = 'StudentStatisticsReport_%s_%s_%s.pdf' % ( 223 prefix = '' 224 225 def _filename(self): 226 return 'StudentStatisticsReport_%s_%s_%s.pdf' % ( 226 227 self.context.session, self.context.mode, 227 228 self.context.creation_dt_string) 228 filename = filename.replace( 229 230 def render(self): 231 filename = self._filename().replace( 229 232 '/', '_').replace(' ','_').replace(':', '-') 230 233 self.response.setHeader(
Note: See TracChangeset for help on using the changeset viewer.