1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Move to_grams() & to_meters() from utilities.utils to utilities.conversion

This commit is contained in:
Jeremy Stretch
2024-03-21 12:59:04 -04:00
parent ef774319f4
commit bbb8b7d010
5 changed files with 70 additions and 68 deletions

View File

@@ -15,9 +15,9 @@ from dcim.constants import *
from dcim.fields import PathField
from dcim.utils import decompile_path_node, object_to_path_node
from netbox.models import ChangeLoggedModel, PrimaryModel
from utilities.conversion import to_meters
from utilities.fields import ColorField
from utilities.querysets import RestrictedQuerySet
from utilities.utils import to_meters
from wireless.models import WirelessLink
from .device_components import FrontPort, RearPort, PathEndpoint