Skip to content

Conversation

blag
Copy link

@blag blag commented May 27, 2017

According to #28095, the signature of Widget.build_attrs() changed from:

class Widget(...):
    # ...
    def build_attrs(self, attrs, **kwargs):
        # ...

to:

class Widget(...):
    # ...
    def build_attrs(self, attrs, extra_args=None):
        # ...

this fixes DateTimePicker.render() to use the new signature while remaining reverse compatible with Django < 1.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant