15 lines
307 B
Python
15 lines
307 B
Python
|
"""backend URL Configuration
|
||
|
"""
|
||
|
|
||
|
from rest_framework import routers
|
||
|
|
||
|
from .views import PurchaseTagViewSet, PurchaseViewSet
|
||
|
|
||
|
router = routers.DefaultRouter()
|
||
|
|
||
|
router.register(r"tag", PurchaseTagViewSet)
|
||
|
router.register(r"purchase", PurchaseViewSet)
|
||
|
|
||
|
app_name = "wishlist-backend"
|
||
|
urlpatterns = router.urls
|