mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-22 23:13:46 +00:00
Remove useless imports
This commit is contained in:
parent
72984c12e3
commit
c02938b133
3 changed files with 1 additions and 10 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue