from django.urls import path, include from rest_framework import routers from . import views router = routers.DefaultRouter() urlpatterns = [ path('', include(router.urls)), path('get_input/', views.get_input, name='get_input'), path('exportPDF/', views.exportPDF, name='exportPDF'), ]