forked from DGNum/gestioCOF
Backwards-incompatible changes : renderer argument
This commit is contained in:
parent
413a9cddb1
commit
72560397a2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue