You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
424 B

  1. from django.urls import include, path
  2. from .views import DatasetImportAPI, DatasetCatalog
  3. urlpatterns = [
  4. path('fp/', include('django_drf_filepond.urls')),
  5. path(
  6. route='projects/<int:project_id>/upload',
  7. view=DatasetImportAPI.as_view(),
  8. name='upload'
  9. ),
  10. path(
  11. route='projects/<int:project_id>/catalog',
  12. view=DatasetCatalog.as_view(),
  13. name='catalog'
  14. ),
  15. ]