unfinished logging

This commit is contained in:
afanasyev.aa 2025-04-06 04:59:28 +09:00
parent 94501bf986
commit 43ccf7fb34
10 changed files with 117 additions and 50 deletions

View file

@ -12,7 +12,7 @@ from rest_framework.authtoken.views import obtain_auth_token
from .views import TelemetryListCreateView
urlpatterns = [
path('predictions', PredictionCreateView.as_view(), name='create_prediction'),
path('predictions', PredictionListView.as_view(), name='get_predictions'),
path('predictions/list/', PredictionListView.as_view(), name='get_predictions'),
path('token', obtain_auth_token, name = 'get_token'),
path("history", PredictionHistoryListView.as_view(), name='view_history_list'),
path("history/<uuid:pk>/", PredictionHistoryDetailView.as_view(), name='view_history_detail'),