from django.urls import path from . import views urlpatterns = [ path('', views.allblogs, name='allblogs'), path('/', views.detail, name='detail'), ]