Ignore:
Timestamp:
26 Dec 2014, 09:34:30 (10 years ago)
Author:
Henrik Bettermann
Message:

Choose proper function names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/products/productoptions.py

    r12307 r12323  
    8686          my_option_entry = ProductOptionEntryField()
    8787
    88     Default widgets are registered to render result entry fields.
     88    Default widgets are registered to render product option entry fields.
    8989    """
    9090    grok.implements(IProductOptionEntryField)
     
    9797@grok.adapter(IProductOptionEntryField, IBrowserRequest)
    9898@grok.implementer(IInputWidget)
    99 def result_entry_input_widget(obj, req):
     99def option_entry_input_widget(obj, req):
    100100    return IkobaObjectWidget(obj, req, ProductOptionEntry)
    101101
     
    103103@grok.adapter(IProductOptionEntryField, IBrowserRequest)
    104104@grok.implementer(IDisplayWidget)
    105 def result_entry_display_widget(obj, req):
     105def option_entry_display_widget(obj, req):
    106106    return IkobaObjectDisplayWidget(obj, req, ProductOptionEntry)
Note: See TracChangeset for help on using the changeset viewer.