urls.py 381 B

1234567891011
  1. from django.urls import path, include
  2. from . import views
  3. urlpatterns = [
  4. path('', views.index, name='index'),
  5. path('upload', views.upload, name='upload'),
  6. path('markers/create', views.MarkerCreateView.as_view(), name='marker-create'),
  7. path('markers/censor', views.DeleteCensoredView.as_view(), name='marker-censor'),
  8. path('markers', views.marker_view, name='marker')
  9. ]