Fix routing priority bug causing recommendations endpoint to be dispatched to the wrong view
@@ -92,12 +92,12 @@ versioned_paths = [
path(
'images/<str:identifier>', ImageDetail.as_view(), name='image-detail'
),
- re_path('images', SearchImages.as_view(), name='images'),
path(
'recommendations/images/<str:identifier>',
RelatedImage.as_view(),
name='related-images'
),
+ re_path('images', SearchImages.as_view(), name='images'),
path(
'sources',
ImageStats.as_view(),
