Browse Source

Update urls

pull/10/head
Hironsan 6 years ago
parent
commit
07bc9ee57f
3 changed files with 9 additions and 3 deletions
  1. 5
      doccano/app/app/urls.py
  2. BIN
      doccano/app/db.sqlite3
  3. 7
      doccano/app/server/urls.py

5
doccano/app/app/urls.py

@ -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),
]

BIN
doccano/app/db.sqlite3

7
doccano/app/server/urls.py

@ -0,0 +1,7 @@
from django.urls import path
from .views import AnnotationView
urlpatterns = [
path('', AnnotationView.as_view()),
]
Loading…
Cancel
Save