From 6b1d1c3336488f5fd293dd8185742c4063e0d59d Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 17 Aug 2013 08:35:42 -0700 Subject: [PATCH] Bugfix in common renderers. --- rattail/pyramid/forms/renderers/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rattail/pyramid/forms/renderers/common.py b/rattail/pyramid/forms/renderers/common.py index ccc0b392..b7f7c092 100644 --- a/rattail/pyramid/forms/renderers/common.py +++ b/rattail/pyramid/forms/renderers/common.py @@ -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):