Backwards-incompatible changes : renderer argument

This commit is contained in:
Ludovic Stephan 2019-04-17 18:27:14 +02:00
parent 413a9cddb1
commit 72560397a2

View file

@ -11,7 +11,7 @@ class TriStateCheckbox(Widget):
# more than once.
self.choices = list(choices)
def render(self, name, value, attrs=None, choices=()):
def render(self, name, value, attrs=None, choices=(), renderer=None):
if value is None:
value = "none"
attrs["value"] = value