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

This version
History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_dantejcoder-0.1-py3-none-any.whl (5.4 kB) Copy SHA256 hash SHA256 Wheel py3 Nov 27, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page