feat: Add url that exposes taxonomy tags CRUD API (#33525)
* feat: Add url that exposes taxonomy tags CRUD API Include `content_tagging` namespace for content_tagging urls in cms for `sub_tags_link` to work in multi-level taxonomy tags. * chore: Bump openedx-learning version
This commit is contained in:
@@ -7,6 +7,7 @@ from rest_framework.routers import DefaultRouter
|
||||
from django.urls.conf import path, include
|
||||
|
||||
from openedx_tagging.core.tagging.rest_api.v1 import (
|
||||
views as oel_tagging_views,
|
||||
views_import as oel_tagging_views_import,
|
||||
)
|
||||
|
||||
@@ -17,6 +18,11 @@ router.register("taxonomies", views.TaxonomyOrgView, basename="taxonomy")
|
||||
router.register("object_tags", views.ObjectTagOrgView, basename="object_tag")
|
||||
|
||||
urlpatterns = [
|
||||
path(
|
||||
"taxonomies/<str:pk>/tags/",
|
||||
oel_tagging_views.TaxonomyTagsView.as_view(),
|
||||
name="taxonomy-tags",
|
||||
),
|
||||
path(
|
||||
"taxonomies/import/template.<str:file_ext>",
|
||||
oel_tagging_views_import.TemplateView.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user