mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 15:33:45 +00:00
Remove useless imports
This commit is contained in:
parent
a370ae066e
commit
315a527bf2
3 changed files with 1 additions and 10 deletions
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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),
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue