flangr/flangr/posts/urls.py

8 lines
167 B
Python

from django.urls import path
from . import views
app_name = "posts"
urlpatterns = [
path("post/<int:pk>", views.PostDetailView.as_view(), name="post_detail"),
]