@ -14,11 +14,10 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from django.urls import path, include
from doccano.app.server.views import AnnotationView
urlpatterns = [
path('annotation/', AnnotationView.as_view()),
path('annotation/', include('server.urls')),
path('admin/', admin.site.urls),
]
@ -0,0 +1,7 @@
from .views import AnnotationView
path('', AnnotationView.as_view()),