urls.py 306 B

12345678910
  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', views.MarkerView.as_view(), name='marker')
  8. ]