backend/links/urls.py
2023-11-22 16:01:05 +03:00

12 lines
250 B
Python

from django.urls import path, include
from rest_framework import routers
from links.views import LinkViewSet
router = routers.DefaultRouter()
router.register(r"", LinkViewSet, basename="links")
urlpatterns = [
path("", include(router.urls))
]