{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/6"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Provides a Django REST Framework view and mixin for serializing and returning multiple models or querysets in a single API endpoint.","skillfed_tags":["django-rest-framework","multi-model-serialization"],"use_cases":["Return user profile data alongside their recent posts in a single endpoint without writing custom view logic.","Combine results from multiple related models in a paginated API response.","Build a dashboard endpoint that fetches and serializes different data types in one call.","Reduce API round-trips by serving heterogeneous data from a single view instead of multiple endpoints."],"what_it_does":"django-rest-multiple-models is a lightweight extension for Django REST Framework that lets you return data from multiple models or querysets in a single API view. Instead of writing custom logic to combine serializers and querysets, you use the provided MultipleModelAPIView class or mixin, which handles the serialization and response formatting for you. It's designed as a drop-in addition to DRF, requiring only installation and registration in INSTALLED_APPS.\n\nThe package has been stable since its first release but has not been actively maintained since its latest release. It carries no known security vulnerabilities and has no runtime dependencies beyond Django and DRF themselves, making it lightweight to add to an existing project. However, its dormant status means you should verify compatibility with your current framework versions before relying on it for new projects.","worth_installing":"Yes, if you are working with an established Django REST Framework project and need to return multiple models from a single endpoint. The low install friction and permissive license make it a safe addition. However, verify compatibility with your current Django and DRF versions first, since the package is dormant. Not recommended for new projects without confirming it works with your framework stack."},"id":"django-rest-multiple-models","links":{"html":"https://skillfed.io/packages/django-rest-multiple-models","md":"https://skillfed.io/packages/django-rest-multiple-models.md","pypi":"https://pypi.org/project/django-rest-multiple-models/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2018-12-01","license_spdx":null,"license_treatment":"permissive","name":"django-rest-multiple-models","python_support":"unspecified","summary":"Multiple model/queryset view (and mixin) for Django Rest Framework"},"popularity":{"monthly_downloads":138339,"position":11331,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.3"}
