Add: posts api app

This commit is contained in:
Aroy-Art 2025-02-10 10:16:26 +01:00
parent 141e08f0f4
commit a5b0580be6
Signed by: Aroy
GPG key ID: 583642324A1D2070
6 changed files with 197 additions and 0 deletions

View file

@ -0,0 +1,8 @@
from django.urls import path
from api.posts.views import PostView, PostListView
urlpatterns = [
path("<str:post_id>/", PostView.as_view(), name="post_details"),
path("", PostListView.as_view(), name="post_list"),
]