Changeset 4226 for waeup/branches/ulif-rewrite/src
- Timestamp:
- 8 Jun 2009, 17:05:07 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/interfaces.py
r4164 r4226 82 82 ) 83 83 84 class IDepartment(IWAeUPObject): 85 """Representation of a department. 86 """ 87 title = schema.TextLine( 88 title = u'Name of Department', 89 default = u'Unnamed', 90 required = True, 91 ) 92 93 title_prefix = schema.TextLine( 94 title = u'Title prefix', 95 default = u'department', 96 required = True, 97 ) 98 99 code = schema.TextLine( 100 title = u'Code', 101 description = u'Abbreviated code of the department', 102 required = True, 103 ) 84 104 85 105 … … 138 158 required = True,) 139 159 140 def doImport( filepath,clear_old_data=True, overwrite=True):160 def doImport(clear_old_data=True, overwrite=True): 141 161 """Read data from `filepath` and apply data. 142 162
Note: See TracChangeset for help on using the changeset viewer.