- Timestamp:
- 17 Nov 2012, 07:10:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports.py
r9651 r9652 127 127 128 128 def __repr__(self): 129 return 'StudentReport (session=%s, mode=%s, author=%r)' % (130 self.session, self.mode , self.author)129 return 'StudentReport (session=%s, mode=%s)' % ( 130 self.session, self.mode) 131 131 132 132 #def get_data(self): … … 226 226 227 227 def render(self): 228 filename = 'report.pdf'228 filename = "%s.pdf" % (self.context.__repr__()) 229 229 self.response.setHeader( 230 230 'Content-Type', 'application/pdf')
Note: See TracChangeset for help on using the changeset viewer.