from django.urls import path from . import views urlpatterns = [ path('',views.endpoint,name='endpoint_index') ]