diff --git a/app/server/api.py b/app/server/api.py index f57e8aaa..bd14730e 100644 --- a/app/server/api.py +++ b/app/server/api.py @@ -9,7 +9,7 @@ from rest_framework.permissions import IsAuthenticated, IsAdminUser from rest_framework.response import Response from rest_framework.views import APIView -from .models import Project, Label, Document, Seq2seqAnnotation +from .models import Project, Label, Document from .permissions import IsAdminUserAndWriteOnly, IsProjectUser, IsOwnAnnotation from .serializers import ProjectSerializer, LabelSerializer, DocumentSerializer