Changeset 4509 for waeup/branches/ulif-rewrite/src
- Timestamp:
- 31 Jul 2009, 23:29:50 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/interfaces.py
r4506 r4509 136 136 ) 137 137 138 level = schema. Int(138 level = schema.TextLine( 139 139 title = u'Level', 140 default = 100,140 default = u'100', 141 141 required = False, 142 142 ) … … 145 145 title = u'Credits', 146 146 default = 0, 147 required = True,147 required = False, 148 148 ) 149 149 … … 151 151 title = u'Passmark', 152 152 default = 40, 153 required = True,153 required = False, 154 154 ) 155 155 156 156 semester = schema.Choice( 157 157 title = u'Semester/Term', 158 default = 2,158 default = 0, 159 159 vocabulary = SimpleVocabulary.fromItems([ 160 ('First Semester', 1),('Second Semester', 2), 161 ('Combined', 3)]), 162 #values = [], 160 ('N/A', 0), ('First Semester', 1), 161 ('Second Semester', 2), ('Combined', 3),]), 163 162 required = True, 164 163 )
Note: See TracChangeset for help on using the changeset viewer.