From 1c2ce26060dbcf6d66250cd3388e03719cf086e3 Mon Sep 17 00:00:00 2001 From: klafyvel Date: Thu, 19 Sep 2019 23:15:11 +0200 Subject: [PATCH] Better naming --- machines/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/forms.py b/machines/forms.py index c89334dd..a56ecbf3 100644 --- a/machines/forms.py +++ b/machines/forms.py @@ -104,7 +104,7 @@ class EditInterfaceForm(FormRevMixin, FieldPermissionFormMixin, ModelForm): self.fields['ipv4'].queryset = IpList.objects.filter( interface__isnull=True ) - can_use_all_iptype, _reason, _message = IpType.can_use_all(user) + can_use_all_iptype, _reason, _permissions = IpType.can_use_all(user) if not can_use_all_iptype: self.fields['ipv4'].queryset = IpList.objects.filter( interface__isnull=True