From 0377474ecc43ce3e2effbd1a8ea5998845444d61 Mon Sep 17 00:00:00 2001 From: Joseph Kennedy Date: Thu, 24 Aug 2017 20:17:50 -0400 Subject: [PATCH] Reference to nonexistent method removed --- netbox/dcim/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py index 4bf975cd8..9f4d6f4df 100644 --- a/netbox/dcim/forms.py +++ b/netbox/dcim/forms.py @@ -1543,7 +1543,7 @@ class InterfaceCSVForm(forms.ModelForm): ) lag = FlexibleModelChoiceField( required=False, - queryset = Interface.objects.order_naturally(method=interface_ordering).filter(device=device,form_factor=IFACE_FF_LAG), + queryset = Interface.objects.order_naturally().filter(device=device,form_factor=IFACE_FF_LAG), help_text='Lag Name', error_messages={'invalid_choice': 'Lag not found.'} )