mirror of https://github.com/doccano/doccano.git
Hironsan
6 years ago
5 changed files with 38 additions and 10 deletions
Split View
Diff Options
-
BINdoccano/app/db.sqlite3
-
18doccano/app/server/static/annotation.js
-
13doccano/app/server/templates/annotation.html
-
3doccano/app/server/urls.py
-
14doccano/app/server/views.py
@ -1,9 +1,10 @@ |
|||
from django.urls import path |
|||
|
|||
from .views import AnnotationView, AnnotationAPIView, MetaInfoAPI |
|||
from .views import AnnotationView, AnnotationAPIView, MetaInfoAPI, SearchAPI |
|||
|
|||
urlpatterns = [ |
|||
path('<int:project_id>/docs', AnnotationView.as_view()), |
|||
path('<int:project_id>/apis/data', AnnotationAPIView.as_view()), |
|||
path('<int:project_id>/apis/label', MetaInfoAPI.as_view()), |
|||
path('<int:project_id>/apis/search', SearchAPI.as_view()), |
|||
] |
Write
Preview
Loading…
Cancel
Save