Coverage for website/facedetection/api/v2/urls.py: 100.00%

4 statements  

« prev     ^ index     » next       coverage.py v7.6.7, created at 2025-08-14 10:31 +0000

1from django.urls import path 

2 

3from .views import ReferenceFaceDeleteView, ReferenceFaceListView, YourPhotosView 

4 

5app_name = "facedetection" 

6 

7urlpatterns = [ 

8 path( 

9 "photos/facedetection/matches/", 

10 YourPhotosView.as_view(), 

11 name="your-photos", 

12 ), 

13 path( 

14 "photos/facedetection/reference-faces/", 

15 ReferenceFaceListView.as_view(), 

16 name="reference-faces", 

17 ), 

18 path( 

19 "photos/facedetection/reference-faces/<int:pk>/", 

20 ReferenceFaceDeleteView.as_view(), 

21 name="reference-faces-delete", 

22 ), 

23]