showing results for - "how to convert a queryset into json string"
Lennard
16 Mar 2019
1# Simply wrap the queryset in a list
2
3data = list(queryset.values())
4
5# Hint: need to use .values() not .all()