from django.urls import include, path from .views import DatasetImportAPI, DatasetCatalog urlpatterns = [ path('fp/', include('django_drf_filepond.urls')), path( route='projects//upload', view=DatasetImportAPI.as_view(), name='upload' ), path( route='projects//catalog', view=DatasetCatalog.as_view(), name='catalog' ), ]