Changeset 8381 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 7 May 2012, 10:37:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
r8376 r8381 41 41 title = _(u'Students') 42 42 43 def mangle_value(self, value, name, context=None):44 """Add the hash symbol at the end of date_of_birth.45 46 This is to avoid annoying automatic date transformation47 by Excel or Calc.48 """49 if name == 'date_of_birth' and value is not None:50 value = str(value) + '#'51 return super(52 StudentsExporter, self).mangle_value(53 value, name, context=context)54 55 43 def export(self, students, filepath=None): 56 44 """Export `students`, an iterable, as CSV file.
Note: See TracChangeset for help on using the changeset viewer.