8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-05-19 09:02:35 +00:00

Remove useless imports

This commit is contained in:
Gabriel Detraz 2020-04-21 17:48:42 +02:00
parent a370ae066e
commit 315a527bf2
3 changed files with 1 additions and 10 deletions

View file

@ -24,8 +24,6 @@
from rest_framework import serializers
import preferences.models as preferences
import users.models as users
# The namespace used for the API. It must match the namespace used in the
# urlpatterns to include the API URLs.

View file

@ -36,12 +36,6 @@ from rest_framework.authtoken.models import Token
from rest_framework.authtoken.views import ObtainAuthToken
from rest_framework.response import Response
# import cotisations.models as cotisations
import machines.models as machines
import preferences.models as preferences
import topologie.models as topologie
import users.models as users
from re2o.utils import all_active_interfaces, all_has_access
from . import serializers
from .pagination import PageSizedPagination
from .permissions import ACLPermission

View file

@ -36,11 +36,10 @@ urls_viewset = [
]
urls_view = [
# (r"topologie/portprofile", views.PortProfileViewSet)
(r"topologie/switchs-ports-config", views.SwitchPortView),
(r"topologie/switchs-role", views.RoleView),
# Deprecated
(r"switchs/ports-config", views.SwitchPortView),
(r"switchs/role", views.RoleView),
]
]