recently
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
# blog/urls.py
|
||||
|
||||
from django.urls import path
|
||||
from .views import PostListCreateView
|
||||
from .views import PostListView, PostListCreateView
|
||||
|
||||
urlpatterns = [
|
||||
path('posts/', PostListView.as_view(), name='post-list'),
|
||||
path('create/', PostListCreateView.as_view(), name='post-list-create'),
|
||||
]
|
||||
|
Reference in New Issue
Block a user