8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 01:16:27 +00:00

Remove useless imports

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

View file

@ -24,8 +24,6 @@
from rest_framework import serializers 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 # The namespace used for the API. It must match the namespace used in the
# urlpatterns to include the API URLs. # 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.authtoken.views import ObtainAuthToken
from rest_framework.response import Response 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 . import serializers
from .pagination import PageSizedPagination from .pagination import PageSizedPagination
from .permissions import ACLPermission from .permissions import ACLPermission

View file

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