def __init__(self, *args, **kwargs):
super(BridgeForm, self).__init__(*args, **kwargs)<EOL>self.fields['<STR_LIT>'].queryset = Interface.objects.filter(device_id=self.instance.device_id).exclude(type=INTERFACE_TYPES.get('<STR_LIT>'))<EOL>
only interfaces of the same device can be bridged