urls.py 566 B

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