|
|
@ -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 |
|
|
|
|
|
|
|