urls.py 516 B

12345678910111213
  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/create-trips', views.CreateTripsView.as_view(), name='marker-censor'),
  9. path('markers', views.marker_view, name='marker'),
  10. path('trips', views.trip_view, name='trips')
  11. ]