from django.urls import path from . import views urlpatterns = [ path('generate-speech/', views.TextToSpeechCreateView.as_view(), name='Generate speech'), path('current_user_speech', views.TextToSpeechListView.as_view(), name="Get all speech of Curent User"), ]