Skip to content
restframework-definable-serializer
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
definable_serializer
docs
tests
.gitignore
LICENSE
README.md
requirements-for-readthedocs.txt
setup.cfg
setup.py
tox.ini

README.md

CircleCI RTD

restframework-definable-serializer

restframework-definable-serializer is definable serializer by JSON or YAML format.

Feature

  • It can define restframework serializer by JSON or YAML
  • It can write and modify serializer by django admin pages.

Dependencies

  • python 3
  • django >= 1.11 or django >= 2.1.5
  • djangorestframework>=3.7.0
  • django-codemirror2>=0.2
  • django-jsonfield>=1.0.1
  • django-yamlfield>=1.0.3
  • PyYAML>=3.12
  • ruamel.yaml>=0.13.5
  • simplejson>=3.11.1
  • six>=1.11.0

Quick start

  1. Install restframework-definable-serializer
pip install restframework-definable-serializer
  1. Add "definable_serializer" and "codemirror2" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
    ...
    'definable_serializer',
    'codemirror2',
]

Documentation

For extensive Japanese documentation see the docs read it on Readthedocs

Translation

Transifex(https://www.transifex.com/restframework-definable-serializer/restframework-definable-serializer-documentation/dashboard/) is used to manage translations.

Feel free to improve translations.

Currently supported languages are:

  • Japanese

You can request to add your own language directly on Transifex.

Sample code

You can try restframework-definable-serializer. See example_project

You can’t perform that action at this time.