from django.urls import path from . import views app_name = "prompts" urlpatterns = [ path( r'', views.RandomList.as_view(), name="random-prompt" ), ]