Как преобразовать запрос в строку json
# Simply wrap the queryset in a list
data = list(queryset.values())
# Hint: need to use .values() not .all()
Terror12
# Simply wrap the queryset in a list
data = list(queryset.values())
# Hint: need to use .values() not .all()