Should be easy, just use built-in methods: https://docs.djangoproject.com/en/1.10/topics/serialization/#serialization-formats-json See also this question: http://stackoverflow.com/questions/757022/how-do-you-serialize-a-model-instance-in-django
Should be easy, just use built-in methods:
https://docs.djangoproject.com/en/1.10/topics/serialization/#serialization-formats-json
See also this question:
http://stackoverflow.com/questions/757022/how-do-you-serialize-a-model-instance-in-django