Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-rest-multiple-models

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-rest-multiple-models

Multiple model/queryset view (and mixin) for Django Rest Framework

  • 2.1.3
  • PyPI
  • Socket score

Maintainers
1

================================ Django Rest Multiple Model View

drf-multiple-models provides an easy view (and mixin) for serializing multiple models in a single view. It is built on top of (and meant to be an extension for) Django Rest Framework.

Installation

  1. Install the package from pip:

    .. code-block:: python

     pip install django-rest-multiple-models
    
  2. Make sure to add 'drf_multiple_model' to your INSTALLED_APPS:

    .. code-block:: python

     INSTALLED_APPS = (
         ...
         'drf_multiple_model',
     )
    
  3. Then simply import the view into any views.py in which you'd want to use it:

    .. code-block:: python

     from drf_multiple_model.views import MultipleModelAPIView
    

Usage

Documentation is on ReadTheDocs: https://django-rest-multiple-models.readthedocs.io/en/latest/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc