mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-22 23:46:44 -06:00
Misc cleanup
This commit is contained in:
parent
6a7d909757
commit
defb7d944a
@ -2,8 +2,8 @@ import decimal
|
|||||||
|
|
||||||
from django.contrib.contenttypes.models import ContentType
|
from django.contrib.contenttypes.models import ContentType
|
||||||
from django.utils.translation import gettext as _
|
from django.utils.translation import gettext as _
|
||||||
from drf_spectacular.utils import extend_schema_field
|
|
||||||
from drf_spectacular.types import OpenApiTypes
|
from drf_spectacular.types import OpenApiTypes
|
||||||
|
from drf_spectacular.utils import extend_schema_field
|
||||||
from rest_framework import serializers
|
from rest_framework import serializers
|
||||||
from timezone_field.rest_framework import TimeZoneSerializerField
|
from timezone_field.rest_framework import TimeZoneSerializerField
|
||||||
|
|
||||||
|
@ -237,12 +237,12 @@ class L2VPNTypeChoices(ChoiceSet):
|
|||||||
(TYPE_EVPL, 'EVPL'),
|
(TYPE_EVPL, 'EVPL'),
|
||||||
)),
|
)),
|
||||||
('E-LAN', (
|
('E-LAN', (
|
||||||
(TYPE_EPLAN, 'Ethernet Private LAN'),
|
(TYPE_EPLAN, _('Ethernet Private LAN')),
|
||||||
(TYPE_EVPLAN, 'Ethernet Virtual Private LAN'),
|
(TYPE_EVPLAN, _('Ethernet Virtual Private LAN')),
|
||||||
)),
|
)),
|
||||||
('E-Tree', (
|
('E-Tree', (
|
||||||
(TYPE_EPTREE, 'Ethernet Private Tree'),
|
(TYPE_EPTREE, _('Ethernet Private Tree')),
|
||||||
(TYPE_EVPTREE, 'Ethernet Virtual Private Tree'),
|
(TYPE_EVPTREE, _('Ethernet Virtual Private Tree')),
|
||||||
)),
|
)),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
from django.utils.translation import gettext_lazy as _
|
|
||||||
import django_tables2 as tables
|
import django_tables2 as tables
|
||||||
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
from netbox.tables import NetBoxTable, columns
|
from netbox.tables import NetBoxTable, columns
|
||||||
from tenancy.tables import TenancyColumnsMixin
|
from tenancy.tables import TenancyColumnsMixin
|
||||||
|
Loading…
Reference in New Issue
Block a user