9 lines
177 B
Python
9 lines
177 B
Python
# blog/urls.py
|
|
|
|
from django.urls import path
|
|
from .views import PostListCreateView
|
|
|
|
urlpatterns = [
|
|
path('posts/', PostListCreateView.as_view(), name='post-list-create'),
|
|
]
|