A simple Django app to covert standard django-models to json
Project description
# DanteJcoder
Simple way to make json from standard django models
Quickstart:
Installation
`pip install django-dantejcoder`
Simple use
1. Import DanteJcoder
```python
from dantejcoder.coder import DanteJcoder
```
2. Get one django model or queriset (for example in result variable)
3. Use DanteJcoder in JsonResponse
```python
return JsonResponse(result, encoder=DanteJcoder)
```
Simple way to make json from standard django models
Quickstart:
Installation
`pip install django-dantejcoder`
Simple use
1. Import DanteJcoder
```python
from dantejcoder.coder import DanteJcoder
```
2. Get one django model or queriset (for example in result variable)
3. Use DanteJcoder in JsonResponse
```python
return JsonResponse(result, encoder=DanteJcoder)
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_dantejcoder-0.1-py3-none-any.whl.
File metadata
- Download URL: django_dantejcoder-0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce6b89d6c46ceac42183400740fb9256b07d0e1a0e6983dd2244912fc68c813a
|
|
| MD5 |
b00efd2b8c60be3b484f3fd6533f8a80
|
|
| BLAKE2b-256 |
66c3fcae6c9ffd26ddab044f4457162f09f89617c54ee9971edd653811267274
|