Skip to content

Commit 5cc850e

Browse files
fix: comment out unused feedback-related URL patterns in urls.py
1 parent 6a32fe9 commit 5cc850e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

backend/core/urls.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
router.register(r"training", TrainingViewSet)
4545
router.register(r"model", ModelViewSet)
4646
router.register(r"feedback", FeedbackViewset)
47-
router.register(r"feedback-aoi", FeedbackAOIViewset)
48-
router.register(r"feedback-label", FeedbackLabelViewset)
47+
# router.register(r"feedback-aoi", FeedbackAOIViewset)
48+
# router.register(r"feedback-label", FeedbackLabelViewset)
4949
router.register(r"banner", BannerViewSet)
5050
router.register(r"notifications/me", UserNotificationViewSet, basename="notifications")
5151
router.register(r"prediction", PredictionViewSet)
@@ -55,10 +55,10 @@
5555
path("", include(router.urls)),
5656
path("label/osm/fetch/<int:aoi_id>/", RawdataApiAOIView.as_view()),
5757
path("label/upload/<int:aoi_id>/", LabelUploadView.as_view(), name="label-upload"),
58-
path(
59-
"label/feedback/osm/fetch/<int:feedbackaoi_id>/",
60-
RawdataApiFeedbackView.as_view(),
61-
),
58+
# path(
59+
# "label/feedback/osm/fetch/<int:feedbackaoi_id>/",
60+
# RawdataApiFeedbackView.as_view(),
61+
# ),
6262
path("users/", UsersView.as_view(), name="user-list-view"),
6363
path("models/centroid/", ModelCentroidView.as_view(), name="models-centroid"),
6464
path("datasets/centroid/", DatasetCentroidView.as_view(), name="datasets-centroid"),
@@ -70,14 +70,14 @@
7070
TerminateTrainingView.as_view(),
7171
name="cancel_training",
7272
),
73-
path("feedback/training/submit/", FeedbackView.as_view()),
73+
# path("feedback/training/submit/", FeedbackView.as_view()),
7474
# path("status/", APIStatus.as_view()),
7575
# path("geojson2osm/", geojson2osmconverter, name="geojson2osmconverter"),
76-
path("conflate/", ConflateGeojson, name="Conflate Geojson"),
77-
path("aoi/gpx/<int:aoi_id>/", GenerateGpxView.as_view()),
78-
path(
79-
"feedback-aoi/gpx/<int:feedback_aoi_id>/", GenerateFeedbackAOIGpxView.as_view()
80-
),
76+
# path("conflate/", ConflateGeojson, name="Conflate Geojson"),
77+
# path("aoi/gpx/<int:aoi_id>/", GenerateGpxView.as_view()),
78+
# path(
79+
# "feedback-aoi/gpx/<int:feedback_aoi_id>/", GenerateFeedbackAOIGpxView.as_view()
80+
# ),
8181
path(
8282
"workspace/download/<path:lookup_dir>/", TrainingWorkspaceDownloadView.as_view()
8383
),

0 commit comments

Comments
 (0)