mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 07:02:26 +00:00
Better naming
This commit is contained in:
parent
6c476f080e
commit
1c2ce26060
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue