Repository URL to install this package:
|
Version:
2.1.3 ▾
|
django-rest-multiple-models
/
PKG-INFO
|
|---|
Metadata-Version: 1.1
Name: django-rest-multiple-models
Version: 2.1.3
Summary: Multiple model/queryset view (and mixin) for Django Rest Framework
Home-page: https://github.com/Axiologue/DjangoRestMultipleModels
Author: Matt Nishi-Broach
Author-email: go.for.dover@gmail.com
License: MIT License
Description: ================================
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/
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content