8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-06 01:46:27 +00:00

Merge branch 'fix_342' into 'dev'

fix: invalid function signature in DateTimePicker since django 2.1

See merge request re2o/re2o!619
This commit is contained in:
Jean-Romain Garnier 2021-07-17 15:38:20 +00:00
commit 2efe778ed8

View file

@ -23,8 +23,8 @@ def list2str(str_iterable):
class DateTimePicker(Input): class DateTimePicker(Input):
is_localized = False is_localized = False
def render(self, name, value, attrs=None): def render(self, name, value, attrs=None, renderer=None):
super().render(name, value, attrs) super().render(name, value, attrs, renderer)
flat_attrs = flatatt(attrs) flat_attrs = flatatt(attrs)
context = { context = {
"name": name, "name": name,