let's say if I have a model named Blog
and this is how the value works
>>> Blog.objects.values()
[{'id': 1, 'name': 'Beatles Blog', 'tagline': 'All the latest Beatles news.'}],
>>> Blog.objects.values('id', 'name')
[{'id': 1, 'name': 'Beatles Blog'}]
but let's say if I want to make the name into another dict and get such in return
[{'id': 1, 'blog': { 'name': 'Beatles Blog'}}]
is the above possible by using value or something similiar?
I know I can do something like which would work
[{'id': blog.pk, 'blog': {'name': blog.name}} for blog in blogs]
Thanks in advance for my curiosity