Coverage for shps/urls.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.6.0, created at 2024-07-27 11:19 +0000

1from django.urls import path 

2from . import views 

3 

4from archeutils import views as arche_views 

5 

6app_name = "shps" 

7 

8urlpatterns = [ 

9 path("ids", arche_views.get_ids, name="get_ids"), 

10 path("arche", arche_views.project_as_arche_graph, name="project_as_arche"), 

11 path("arche-title-img", arche_views.get_title_img, name="arche_title_img"), 

12 path("where-was/", views.WhereWas.as_view(), name="where_was"), 

13 path("shapes/", views.TempSpatialListView.as_view(), name="browse_shapes"), 

14 path("shape/arche/<int:pk>", arche_views.res_as_arche_graph, name="arche_md"), 

15 path("permalink/<unique>/", views.PermaLinkView.as_view(), name="permalink-view"), 

16 path( 

17 "shape/detail/<int:pk>", 

18 views.TempSpatialDetailView.as_view(), 

19 name="shape_detail", 

20 ), 

21 path( 

22 "shape/delete/<int:pk>", 

23 views.TempSpatialDelete.as_view(), 

24 name="shape_delete", 

25 ), 

26 path( 

27 "shape/edit/<int:pk>", 

28 views.TempSpatialUpdate.as_view(), 

29 name="shape_edit", 

30 ), 

31 path("shape/create/", views.TempSpatialCreate.as_view(), name="shape_create"), 

32 path("sources/", views.SourceListView.as_view(), name="browse_sources"), 

33 path( 

34 "source/detail/<int:pk>", 

35 views.SourceDetailView.as_view(), 

36 name="source_detail", 

37 ), 

38 path( 

39 "source/delete/<int:pk>", 

40 views.SourceDelete.as_view(), 

41 name="source_delete", 

42 ), 

43 path( 

44 "source/edit/<int:pk>", 

45 views.SourceUpdate.as_view(), 

46 name="source_edit", 

47 ), 

48 path("source/create/", views.SourceCreate.as_view(), name="source_create"), 

49]