from django.urls import path from .views import DatasetCatalog, DatasetExportAPI urlpatterns = [ path( route='projects//download-format', view=DatasetCatalog.as_view(), name='download-format' ), path( route='projects//download', view=DatasetExportAPI.as_view(), name='download-dataset' ), ]