from django.urls import path
from . views import (
    home,
    detail
)

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

urlpatterns = [
    path('', home, name='home' ),
    path('detail/<int:id>', detail, name='detail' )
]