Changeset 14700 for main/waeup.aaue/trunk/src/waeup/aaue/interfaces.py
- Timestamp:
- 24 Jun 2017, 07:11:54 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interfaces.py
r14518 r14700 21 21 from zc.sourcefactory.basic import BasicSourceFactory 22 22 from waeup.kofa.interfaces import (SimpleKofaVocabulary, 23 ISessionConfiguration, academic_sessions_vocab) 23 ISessionConfiguration, academic_sessions_vocab, 24 ContextualDictSourceFactoryBase) 24 25 25 26 _ = MessageFactory = zope.i18nmessageid.MessageFactory('waeup.aaue') 27 28 class EnableScoreEditingGroupSource(ContextualDictSourceFactoryBase): 29 """A source for filtering groups of students 30 """ 31 DICT_NAME = 'ENABLE_SCORE_EDITING_GROUP_DICT' 26 32 27 33 # It's recommended to replicate all fields from the base package here. … … 254 260 ) 255 261 262 score_editing_enabled = schema.List( 263 title = _(u'Score editing enabled'), 264 value_type = schema.Choice( 265 source = EnableScoreEditingGroupSource(), 266 ), 267 required = False, 268 defaultFactory=list, 269 ) 270 256 271 257 272 def getSessionString():
Note: See TracChangeset for help on using the changeset viewer.