DRF-schema-adapter's goal is to provide a toolset to help you create fully dynamic clients from Django and Django REST framework. Given the right frontend tools it can even help you to build a full-fledge admin.
DRF-schema-adapter is compatible with the following matrix
|Py 2.7||Py 3.4||Py 3.5||Py 3.6||Py 3.7|
|Django 1.8||DRF 3.3-3.6||DRF 3.3-3.6||DRF 3.3-3.6||DRF 3.3-3.6||No|
|Django 1.9||DRF 3.3-3.6||DRF 3.3-3.6||DRF 3.3-3.6||DRF 3.3-3.6||No|
|Django 1.10||DRF 3.4-3.7||DRF 3.4-3.7||DRF 3.4-3.7||DRF 3.4-3.7||No|
|Django 1.11||DRF 3.4-3.7||DRF 3.4-3.7||DRF 3.4-3.7||DRF 3.4-3.7||No|
|Django 2.0||No||No||DRF 3.7+||DRF 3.7+||DRF 3.7+|
|Django 2.1||No||No||DRF 3.7+||DRF 3.7+||DRF 3.7+|
|Django 2.2||No||No||DRF 3.7+||DRF 3.7+||DRF 3.7+|
:warning: For DRF 3.2, (Django 1.8 only), use version 0.9.56 or prior
:warning: Django-filter 2.x dropped support for Python2 and Django < 1.11, update your requirements accordingly if this affects you
pip install drf-schema-adapter
Within the source directory:
python setup.py install
You can see a demo application running at https://djembersample.pythonanywhere.com/.
Table Of Content
- Create a custom metadata adapter
- Create a custom export adapter
- Use custom viewsets
- Use custom serializers
- Actions without extra data
- Actions with extra data
License information available here.
Contributors code of conduct is available here. Note that this COC will be enforced.