Bugfix in common renderers.
This commit is contained in:
parent
d7d7d870ab
commit
6b1d1c3336
|
@ -26,7 +26,7 @@
|
||||||
``rattail.pyramid.forms.renderers.common`` -- Common Field Renderers
|
``rattail.pyramid.forms.renderers.common`` -- Common Field Renderers
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from formalchemy.fields import SelectFieldRenderer
|
from formalchemy.fields import FieldRenderer, SelectFieldRenderer
|
||||||
|
|
||||||
|
|
||||||
__all__ = ['AutocompleteFieldRenderer', 'EnumFieldRenderer']
|
__all__ = ['AutocompleteFieldRenderer', 'EnumFieldRenderer']
|
||||||
|
@ -37,7 +37,7 @@ def AutocompleteFieldRenderer(service_url, field_value=None, field_display=None,
|
||||||
Returns a custom renderer class for an autocomplete field.
|
Returns a custom renderer class for an autocomplete field.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
class AutocompleteFieldRenderer(formalchemy.fields.FieldRenderer):
|
class AutocompleteFieldRenderer(FieldRenderer):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def focus_name(self):
|
def focus_name(self):
|
||||||
|
|
Loading…
Reference in a new issue