[Django]-Serialize a list of objects in json in Django

0👍

The Django serializer should be able to deal with a regular list of Django objects, according to the docs:

(Actually, the second argument can be any iterator that yields Django objects, but it’ll almost always be a QuerySet).

Leave a comment