diff --git a/zds/tutorialv2/urls/urls_contents.py b/zds/tutorialv2/urls/urls_contents.py index a1b2b4d8ad..3e1a1dd315 100644 --- a/zds/tutorialv2/urls/urls_contents.py +++ b/zds/tutorialv2/urls/urls_contents.py @@ -200,20 +200,20 @@ path("modifier-objectifs//", EditGoals.as_view(), name="edit-goals"), path("objectifs/", ViewContentsByGoal.as_view(), name="view-goals"), # Shareable links - re_path(r"^partage/gerer/(?P\d+)/$", ListShareableLinks.as_view(), name="list-shareable-links"), - re_path(r"^partage/creer/(?P\d+)/$", CreateShareableLink.as_view(), name="create-shareable-link"), - re_path(r"^partage/modifier/(?P.+)/$", EditShareableLink.as_view(), name="edit-shareable-link"), - re_path(r"^partage/desactiver/(?P.+)/$", DeactivateShareableLink.as_view(), name="deactivate-shareable-link"), - re_path(r"^partage/reactiver/(?P.+)/$", ReactivateShareableLink.as_view(), name="reactivate-shareable-link"), - re_path(r"^partage/supprimer/(?P.+)/$", DeleteShareableLink.as_view(), name="delete-shareable-link"), - re_path(r"^partage/(?P[^/]+)/$", DisplaySharedContent.as_view(), name="shareable-link"), - re_path( - r"^partage/(?P[^/]+)/(?P.+)/(?P.+)/$", + path("partage/gerer//", ListShareableLinks.as_view(), name="list-shareable-links"), + path("partage/creer//", CreateShareableLink.as_view(), name="create-shareable-link"), + path("partage/modifier//", EditShareableLink.as_view(), name="edit-shareable-link"), + path("partage/desactiver//", DeactivateShareableLink.as_view(), name="deactivate-shareable-link"), + path("partage/reactiver//", ReactivateShareableLink.as_view(), name="reactivate-shareable-link"), + path("partage/supprimer//", DeleteShareableLink.as_view(), name="delete-shareable-link"), + path("partage//", DisplaySharedContent.as_view(), name="shareable-link"), + path( + "partage////", DisplaySharedContainer.as_view(), name="shareable-link-container", ), - re_path( - r"^partage/(?P[^/]+)/(?P.+)/$", + path( + "partage///", DisplaySharedContainer.as_view(), name="shareable-link-container", ),