def __init__(self, rel, admin_site, field_name, **kwargs):
        """Construct field for given field rel."""
        super(SalmonellaFilterForm, self).__init__(**kwargs)

        self.fields['%s' % field_name] = forms.IntegerField(
            label='', widget=SalmonellaIdWidget(
                rel=rel, admin_site=admin_site), required=False)
dataset/ETHPy150Open lincolnloop/django-salmonella/salmonella/filters.py/SalmonellaFilterForm.__init__/original