producthunt/products/urls.py

8 lines
181 B
Python

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