|
@@ -22,7 +22,7 @@ from utilities.models import ChangeLoggedModel
|
|
|
from utilities.utils import serialize_object, to_meters
|
|
from utilities.utils import serialize_object, to_meters
|
|
|
from .constants import *
|
|
from .constants import *
|
|
|
from .fields import ASNField, MACAddressField
|
|
from .fields import ASNField, MACAddressField
|
|
|
-from .querysets import CableQuerySet, InterfaceQuerySet
|
|
|
|
|
|
|
+from .querysets import InterfaceQuerySet
|
|
|
|
|
|
|
|
|
|
|
|
|
class ComponentTemplateModel(models.Model):
|
|
class ComponentTemplateModel(models.Model):
|
|
@@ -2435,8 +2435,6 @@ class Cable(ChangeLoggedModel):
|
|
|
null=True
|
|
null=True
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
- objects = CableQuerySet.as_manager()
|
|
|
|
|
-
|
|
|
|
|
csv_headers = [
|
|
csv_headers = [
|
|
|
'termination_a_type', 'termination_a_id', 'termination_b_type', 'termination_b_id', 'type', 'status', 'label',
|
|
'termination_a_type', 'termination_a_id', 'termination_b_type', 'termination_b_id', 'type', 'status', 'label',
|
|
|
'color', 'length', 'length_unit',
|
|
'color', 'length', 'length_unit',
|