<filename>posts/urls.py<gh_stars>0
from django.urls import path

from . import views


app_name = "posts"
urlpatterns = [
    path("", views.index, name="index"),
    path("new_post/", views.new_post, name="new_post"),
    path("posts/<int:post_id>", views.post, name="post"),
]

<filename>posts/urls.py<gh_stars>0
from django.urls import path

from . import views


app_name = "posts"
urlpatterns = [
    path("", views.index, name="index"),
    path("new_post/", views.new_post, name="new_post"),
    path("posts/<int:post_id>", views.post, name="post"),
]
