migration to new backend

This commit is contained in:
Sean Morley
2024-07-08 11:44:39 -04:00
parent 28a5d423c2
commit 9abe9fb315
309 changed files with 21476 additions and 24132 deletions

View File

@@ -0,0 +1,11 @@
from django.urls import include, path
from rest_framework.routers import DefaultRouter
from .views import AdventureViewSet
router = DefaultRouter()
router.register(r'adventures', AdventureViewSet, basename='adventures')
urlpatterns = [
# Include the router under the 'api/' prefix
path('', include(router.urls)),
]