diff --git a/netbox/circuits/forms.py b/netbox/circuits/forms.py index ff5f6e2b2..6939e5914 100644 --- a/netbox/circuits/forms.py +++ b/netbox/circuits/forms.py @@ -14,6 +14,7 @@ url_prefix = '' if settings.URL_PREFIX.strip('/'): url_prefix = '/{0}'.format(settings.URL_PREFIX.strip('/')) + # # Providers # diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py index 4670a4ac2..2089a748f 100644 --- a/netbox/dcim/forms.py +++ b/netbox/dcim/forms.py @@ -30,6 +30,7 @@ url_prefix = '' if settings.URL_PREFIX.strip('/'): url_prefix = '/{0}'.format(settings.URL_PREFIX.strip('/')) + def get_device_by_name_or_pk(name): """ Attempt to retrieve a device by either its name or primary key ('{pk}'). diff --git a/netbox/ipam/forms.py b/netbox/ipam/forms.py index 539f586e8..a46c9d72a 100644 --- a/netbox/ipam/forms.py +++ b/netbox/ipam/forms.py @@ -21,6 +21,7 @@ url_prefix = '' if settings.URL_PREFIX.strip('/'): url_prefix = '/{0}'.format(settings.URL_PREFIX.strip('/')) + # # VRFs #