Files
msa-django-blog/blog/urls.py

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'),
]