2024-07-11 15:40:45 +00:00
|
|
|
# from django.urls import path, include
|
|
|
|
# from rest_framework.routers import DefaultRouter
|
|
|
|
# from snapshot.views import SnapshotViewSet
|
2024-06-12 07:32:49 +00:00
|
|
|
|
2024-07-11 15:40:45 +00:00
|
|
|
# router = DefaultRouter()
|
|
|
|
# router.register(r'snapshots', SnapshotViewSet)
|
|
|
|
|
|
|
|
# urlpatterns = [
|
|
|
|
# path('', include(router.urls)),
|
|
|
|
# ]
|
|
|
|
from django.urls import path
|
|
|
|
from snapshot import views
|
|
|
|
|
|
|
|
app_name = 'snapshot'
|
2024-06-12 07:32:49 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2024-07-11 15:40:45 +00:00
|
|
|
path("", views.ListSnapshotsView.as_view(), name="list"),
|
2024-06-12 07:32:49 +00:00
|
|
|
]
|