Coverage for apis_core/collections/urls.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.6.4, created at 2024-11-22 07:51 +0000

1from django.urls import path 

2 

3from . import views 

4 

5app_name = "collections" 

6 

7urlpatterns = [ 

8 path( 

9 "collectionobjecttoggle/<int:content_type_id>/<int:object_id>/<int:collection>", 

10 views.CollectionToggle.as_view(), 

11 name="collectiontoggle", 

12 ), 

13 path( 

14 "collectionobjectparent/<int:content_type_id>/<int:object_id>/<int:collectionobject>", 

15 views.CollectionObjectParent.as_view(), 

16 name="collectionobjectparent", 

17 ), 

18 path( 

19 "collectionsessiontoggle/<int:skoscollection>", 

20 views.CollectionSessionToggle.as_view(), 

21 name="collectionsessiontoggle", 

22 ), 

23]