def build_attrs(self, *args, **kwargs):
attrs = super(HeavySelect2Mixin, self).build_attrs(*args, **kwargs)<EOL>self.widget_id = signing.dumps(id(self))<EOL>attrs['<STR_LIT>'] = self.widget_id<EOL>attrs.setdefault('<STR_LIT>', self.get_url())<EOL>attrs.setdefault('<STR_LIT>', "<STR_LIT:true>")<EOL>attrs.setdefault('<STR_LIT>', "<STR_LIT:GET>")<EOL>attrs.setdefault('<STR_LIT>', <NUM_LIT:2>)<EOL>if self.dependent_fields:<EOL><INDENT>attrs.setdefault('<STR_LIT>', "<STR_LIT:U+0020>".join(self.dependent_fields))<EOL><DEDENT>attrs['<STR_LIT:class>'] += '<STR_LIT>'<EOL>return attrs<EOL>
Set select2's AJAX attributes.