{"library":"drf-nested-routers","type":"library","category":null,"description":"DRF Nested Routers is a Python library that extends Django REST Framework (DRF) to facilitate the creation of nested resources. It provides specialized routers and relation fields necessary for building a full REST URL structure where one resource hierarchically depends on another (e.g., `/authors/{author_pk}/books/`). This is crucial when child resources logically exist only within the context of their parent. The library is actively maintained, with the current version being 0.95.0, and typically releases updates to maintain compatibility with new Django and DRF versions.","language":"python","status":"active","version":"0.95.0","tags":["django","drf","rest-framework","routing","nested-resources","api"],"last_verified":"Thu May 21","install":[{"cmd":"pip install drf-nested-routers","imports":["from rest_framework_nested import routers","from rest_framework_nested.serializers import NestedHyperlinkedModelSerializer","from rest_framework_extensions.mixins import NestedViewSetMixin"]}],"homepage":null,"github":"https://github.com/alanjds/drf-nested-routers","docs":null,"changelog":null,"pypi":"https://pypi.org/project/drf-nested-routers/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":3.7,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/drf-nested-routers/compatibility"}}