As documented in Django official docs, you can convert a queryset into a list of dict, like so: # This list contains a dictionary.> > > Blog.objects.filter(name__startswith='Beatles').values()[{'id': 1, 'name': 'Beatles Blog', ...
As documented in Django official docs, you can convert a queryset into a list of dict, like so: # This list contains a dictionary.> > > Blog.objects.filter(name__startswith='Beatles').values()[{'id': 1, 'name': 'Beatles Blog', ...
This however has some limitation, from what i had experienced. It works well in IE, to a major extend in Firefox, but not much in Opera and Safari. Hence it would be advisable you use the jquery error handling in addition, ...