Skip to content

Commit

Permalink
feat: Use SimpleRouter instead of DefaultRouter (like in Pelican fron…
Browse files Browse the repository at this point in the history
…tend)
  • Loading branch information
jpmckinney committed Apr 19, 2024
1 parent 9ed1937 commit 1035a42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions process/urls.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from django.urls import path
from drf_spectacular import views as drfviews
from rest_framework import routers
from rest_framework.routers import SimpleRouter

from process import views

router = routers.DefaultRouter()
router = SimpleRouter()
router.register(r"collections", views.CollectionViewSet, basename="collection")
router.register(r"tree", views.TreeViewSet, basename="tree")

Expand Down

0 comments on commit 1035a42

Please sign in to comment.