portfolio/blog/urls.py

8 lines
176 B
Python

from django.urls import path
from . import views
urlpatterns = [
path('', views.allblogs, name='allblogs'),
path('<int:blog_id>/', views.detail, name='detail'),
]