mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-27 12:07:04 -05:00
feat: Add blog, media, and support apps, implement ride credits and image API, and remove toplist feature.
This commit is contained in:
11
backend/apps/blog/urls.py
Normal file
11
backend/apps/blog/urls.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django.urls import path, include
|
||||
from rest_framework.routers import DefaultRouter
|
||||
from .views import PostViewSet, TagViewSet
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register(r"posts", PostViewSet, basename="post")
|
||||
router.register(r"tags", TagViewSet, basename="tag")
|
||||
|
||||
urlpatterns = [
|
||||
path("", include(router.urls)),
|
||||
]
|
||||
Reference in New Issue
Block a user