Skip to main content

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)
```



Project details


Release history Release notifications | RSS feed

This version

0.1

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

If you're not sure about the file name format, learn more about wheel file names.

django_dantejcoder-0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file django_dantejcoder-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_dantejcoder-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ce6b89d6c46ceac42183400740fb9256b07d0e1a0e6983dd2244912fc68c813a
MD5 b00efd2b8c60be3b484f3fd6533f8a80
BLAKE2b-256 66c3fcae6c9ffd26ddab044f4457162f09f89617c54ee9971edd653811267274

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page