mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-17 14:29:28 +08:00
11 lines
229 B
Python
11 lines
229 B
Python
|
from django.urls import include, path
|
||
|
from rest_framework import routers
|
||
|
from . import views
|
||
|
|
||
|
router = routers.DefaultRouter()
|
||
|
router.register(r'', views.TransactionViewSet)
|
||
|
|
||
|
urlpatterns = [
|
||
|
path('', include(router.urls)),
|
||
|
]
|