<reponame>iarp/django-taggit-autosuggest<filename>demo_project/posts/urls.py
from django.urls import path

from . import views

app_name = 'posts'
urlpatterns = [
    path('', views.PostListView.as_view(), name='index'),
    path('<int:pk>/', views.PostUpdateView.as_view(), name='update'),
]

from django.urls import path

from . import views

app_name = 'posts'
urlpatterns = [
    path('', views.PostListView.as_view(), name='index'),
    path('<int:pk>/', views.PostUpdateView.as_view(), name='update'),
]