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.12
- django>=4
- djangorestframework>=3.15.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
- Install restframework-definable-serializer
pip install restframework-definable-serializer
- 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
Release files for restframework-definable-serializer 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| restframework_definable_serializer-0.2.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / restframework_definable_serializer-0.2.2-py2.py3-none-any.whl
| Download URL | restframework_definable_serializer-0.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5928705da6340cb1f4d6258b65c2b3c9b2a847db2183e87351edd6d367f59991
|
|
BLAKE2b-256 checksum How to use checksums |
429eccdf40d590a0abc470e3e77fd931690aa42ca8c11fd621d0cd74c045da7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.5
|