I am trying to get a list of the content of one attribute from all objects in a model.
For now, I am doing this:
titles_list = []
for item in A.objects.all():
titles_list.append(item.title)
print titles_list
Is there a more interesting solution based on a memory / time economy to do it?