From f7267597ee18944f440c1a40602efbbed6ea88f3 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 15 Dec 2016 00:36:58 -0600 Subject: [PATCH] Tweak the `CustomFieldRenderer` base class a bit Not sure who all's using this now..hopefully this breaks nothing --- tailbone/forms/renderers/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tailbone/forms/renderers/core.py b/tailbone/forms/renderers/core.py index 0f3c925c..ac80404a 100644 --- a/tailbone/forms/renderers/core.py +++ b/tailbone/forms/renderers/core.py @@ -43,6 +43,7 @@ class CustomFieldRenderer(fa.FieldRenderer): def __init__(self, *args, **kwargs): if len(args) == 1 and isinstance(args[0], AbstractField): super(CustomFieldRenderer, self).__init__(args[0]) + self.init(**kwargs) else: assert len(args) == 0 self.init(**kwargs)