Reference to nonexistent method removed

This commit is contained in:
Joseph Kennedy 2017-08-24 20:17:50 -04:00
parent 3fd2911bdc
commit 0377474ecc

View File

@ -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.'}
)