<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def build_attrs(self, base_attrs, extra_attrs=None, **kwargs):
 """ Helper function for building an attribute dictionary. This is combination of the same method from Django<=1.10 and Django1.11+ """


        attrs = dict(base_attrs, **kwargs)
        if extra_attrs:
            attrs.update(extra_attrs)
        return attrs