8 lines
164 B
Python
8 lines
164 B
Python
from django.urls import path
|
|
from .views import PostView
|
|
|
|
|
|
urlpatterns = [
|
|
path('post/', PostView.as_view()),
|
|
path('post/<int:pk>/', PostView.as_view()),
|
|
]
|