'Instanciate a widget with a URL and a list of fields to forward.'

def __init__(self, url=None, forward=None, *args, **kwargs):

    self.url = url
    self.forward = (forward or [])
    self.placeholder = kwargs.get('attrs', {}).get('data-placeholder')
    super(WidgetMixin, self).__init__(*args, **kwargs)
