salexkidd / restframework-definable-serializer

restframework-definable-serializer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.2.7
  • djangorestframework>=3.7.0
  • django-codemirror2>=0.2
  • django-jsonfield>=1.0.1
  • django-yamlfield>=1.0.3
  • PyYAML>=5.2
  • ruamel.yaml>=0.13.5
  • simplejson>=3.11.1
  • six>=1.13.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

About

restframework-definable-serializer

License:MIT License


Languages

Language:Python 97.8%Language:HTML 2.2%