Skip to content

Commit

Permalink
fix double line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinekh committed Feb 25, 2025
1 parent bda4f31 commit 59cd5bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion netbox/vpn/models/tunnels.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from django.utils.translation import gettext_lazy as _

from netbox.models import ChangeLoggedModel, OrganizationalModel, PrimaryModel
from netbox.models.features import CustomFieldsMixin, CustomLinksMixin, TagsMixin, ContactsMixin
from netbox.models.features import ContactsMixin, CustomFieldsMixin, CustomLinksMixin, TagsMixin
from vpn.choices import *

__all__ = (
Expand Down
4 changes: 2 additions & 2 deletions netbox/vpn/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ class TunnelGroupBulkDeleteView(generic.BulkDeleteView):
class TunnelGroupContactsView(ObjectContactsView):
queryset = TunnelGroup.objects.all()


#
# Tunnels
#


@register_model_view(Tunnel, 'list', path='', detail=False)
class TunnelListView(generic.ObjectListView):
queryset = Tunnel.objects.annotate(
Expand Down Expand Up @@ -141,11 +141,11 @@ class TunnelBulkDeleteView(generic.BulkDeleteView):
class TunnelContactsView(ObjectContactsView):
queryset = Tunnel.objects.all()


#
# Tunnel terminations
#


@register_model_view(TunnelTermination, 'list', path='', detail=False)
class TunnelTerminationListView(generic.ObjectListView):
queryset = TunnelTermination.objects.all()
Expand Down

0 comments on commit 59cd5bc

Please sign in to comment.