Changeset 7819 for main/waeup.kofa/trunk/src/waeup/kofa/schoolgrades.py
- Timestamp:
- 8 Mar 2012, 22:28:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/schoolgrades.py
r7811 r7819 25 25 from waeup.kofa.interfaces import IResultEntry, IResultEntryField 26 26 from waeup.kofa.widgets.objectwidget import ( 27 K OFAObjectWidget, KOFAObjectDisplayWidget27 KofaObjectWidget, KofaObjectDisplayWidget 28 28 ) 29 29 … … 52 52 return 53 53 54 # register K OFAObjectWidgets as default widgets for IResultEntryFields54 # register KofaObjectWidgets as default widgets for IResultEntryFields 55 55 @grok.adapter(IResultEntryField, IBrowserRequest) 56 56 @grok.implementer(IInputWidget) 57 57 def result_entry_input_widget(obj, req): 58 return K OFAObjectWidget(obj, req, ResultEntry)58 return KofaObjectWidget(obj, req, ResultEntry) 59 59 60 60 # register a display widget for IResultEntryFields … … 62 62 @grok.implementer(IDisplayWidget) 63 63 def result_entry_display_widget(obj, req): 64 return K OFAObjectDisplayWidget(obj, req, ResultEntry)64 return KofaObjectDisplayWidget(obj, req, ResultEntry)
Note: See TracChangeset for help on using the changeset viewer.