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

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

Uploaded Python 3

Supported by

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