from django.urls import path from .views import SmartListAPIView app_name = 'smart-api' urlpatterns = [ path('', SmartListAPIView.as_view(), name='list') ]