Browse Source

isort fix

pull/1384/head
Davide Allavena 3 years ago
parent
commit
2f0816639f
2 changed files with 3 additions and 3 deletions
  1. 4
      backend/api/views/__init__.py
  2. 2
      backend/api/views/relation_types.py

4
backend/api/views/__init__.py

@ -1,4 +1,5 @@
from .annotation import * from .annotation import *
from .annotation_relations import *
from .auto_labeling import * from .auto_labeling import *
from .comment import * from .comment import *
from .example import * from .example import *
@ -8,10 +9,9 @@ from .import_dataset import *
from .import_export import * from .import_export import *
from .label import * from .label import *
from .project import * from .project import *
from .relation_types import *
from .role import * from .role import *
from .statistics import * from .statistics import *
from .tag import * from .tag import *
from .task import * from .task import *
from .user import * from .user import *
from .relation_types import *
from .annotation_relations import *

2
backend/api/views/relation_types.py

@ -10,7 +10,7 @@ from rest_framework.response import Response
from rest_framework.views import APIView from rest_framework.views import APIView
from ..exceptions import RelationTypesValidationError from ..exceptions import RelationTypesValidationError
from ..models import RelationTypes, Project
from ..models import Project, RelationTypes
from ..permissions import IsInProjectReadOnlyOrAdmin, IsProjectAdmin from ..permissions import IsInProjectReadOnlyOrAdmin, IsProjectAdmin
from ..serializers import RelationTypesSerializer from ..serializers import RelationTypesSerializer

Loading…
Cancel
Save