Bugfix in common renderers.

This commit is contained in:
Lance Edgar 2013-08-17 08:35:42 -07:00
parent d7d7d870ab
commit 6b1d1c3336

View file

@ -26,7 +26,7 @@
``rattail.pyramid.forms.renderers.common`` -- Common Field Renderers
"""
from formalchemy.fields import SelectFieldRenderer
from formalchemy.fields import FieldRenderer, SelectFieldRenderer
__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.
"""
class AutocompleteFieldRenderer(formalchemy.fields.FieldRenderer):
class AutocompleteFieldRenderer(FieldRenderer):
@property
def focus_name(self):