[Answered ]-Django get queryset as serialized

2👍

Actually serialize takes as its first parameter the format to serialize to. Normally this is ‘json’ or ‘xml’ but you can also use ‘python’, which converts to a standard Python dict.

Leave a comment