From fb6c5face91b4a751fbaa7d18d5d69cc218b9cf0 Mon Sep 17 00:00:00 2001 From: Saria Hajjar Date: Thu, 16 Jan 2020 22:21:24 +0000 Subject: [PATCH] Removed unnecessary definitions (inherited already) --- netbox/extras/scripts.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/netbox/extras/scripts.py b/netbox/extras/scripts.py index 56b7a4560..9e11cdaa4 100644 --- a/netbox/extras/scripts.py +++ b/netbox/extras/scripts.py @@ -224,9 +224,7 @@ class IPNetworkVar(IPAddressVar): """ An IPv4 or IPv6 prefix. """ - form_field = IPFormField - - def __init__(self, min_prefix_length=None, max_prefix_length=None, *args, **kwargs): + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) # Reject prefixes with any host-bits set