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
|
2024-07-26 15:59:34 +00:00
|
|
|
from evidence import views
|
2024-07-11 15:40:45 +00:00
|
|
|
|
2024-07-26 15:59:34 +00:00
|
|
|
app_name = 'evidence'
|
2024-06-12 07:32:49 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2024-07-26 15:59:34 +00:00
|
|
|
path("", views.ListEvidencesView.as_view(), name="list"),
|
2024-07-30 17:38:04 +00:00
|
|
|
path("upload", views.UploadView.as_view(), name="upload"),
|
2024-06-12 07:32:49 +00:00
|
|
|
]
|