devicehub-django/snapshot/urls.py
Cayo Puigdefabregas 80668b3ec8 base of proyect
2024-06-12 09:32:49 +02:00

11 lines
258 B
Python

from django.urls import path, include
from rest_framework.routers import DefaultRouter
from snapshot.views import SnapshotViewSet
router = DefaultRouter()
router.register(r'snapshots', SnapshotViewSet)
urlpatterns = [
path('', include(router.urls)),
]