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:
@@ -339,7 +339,7 @@ urlpatterns += [
|
||||
|
||||
# Content tagging
|
||||
urlpatterns += [
|
||||
path('api/content_tagging/', include(('openedx.core.djangoapps.content_tagging.urls'))),
|
||||
path('api/content_tagging/', include(('openedx.core.djangoapps.content_tagging.urls', 'content_tagging'))),
|
||||
]
|
||||
|
||||
# studio-content-api specific API docs (using drf-spectacular and openapi-v3)
|
||||
|
||||
@@ -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(),
|
||||
|
||||
@@ -121,7 +121,7 @@ libsass==0.10.0
|
||||
click==8.1.6
|
||||
|
||||
# pinning this version to avoid updates while the library is being developed
|
||||
openedx-learning==0.2.5
|
||||
openedx-learning==0.2.6
|
||||
|
||||
# lti-consumer-xblock 9.6.2 contains a breaking change that makes
|
||||
# existing custom parameter configurations unusable.
|
||||
|
||||
@@ -785,7 +785,7 @@ openedx-filters==1.6.0
|
||||
# via
|
||||
# -r requirements/edx/kernel.in
|
||||
# lti-consumer-xblock
|
||||
openedx-learning==0.2.5
|
||||
openedx-learning==0.2.6
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/kernel.in
|
||||
|
||||
@@ -1318,7 +1318,7 @@ openedx-filters==1.6.0
|
||||
# -r requirements/edx/doc.txt
|
||||
# -r requirements/edx/testing.txt
|
||||
# lti-consumer-xblock
|
||||
openedx-learning==0.2.5
|
||||
openedx-learning==0.2.6
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/doc.txt
|
||||
|
||||
@@ -925,7 +925,7 @@ openedx-filters==1.6.0
|
||||
# via
|
||||
# -r requirements/edx/base.txt
|
||||
# lti-consumer-xblock
|
||||
openedx-learning==0.2.5
|
||||
openedx-learning==0.2.6
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/base.txt
|
||||
|
||||
@@ -992,7 +992,7 @@ openedx-filters==1.6.0
|
||||
# via
|
||||
# -r requirements/edx/base.txt
|
||||
# lti-consumer-xblock
|
||||
openedx-learning==0.2.5
|
||||
openedx-learning==0.2.6
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/base.txt
|
||||
|
||||
Reference in New Issue
Block a user