Is it efficient to obtain a queryset, and iterate over it in a conventional loop, saving the changes to each item using save()? e.g.
for mod in mymodel.objects.all():
# modify
mod.name = 'new name or whatever'
# Save
mod.save()
If not, is there a better way? The docs state that calling save() hits the database which is why I ask. I'm a relative newbie to Django (and Python). In the real case, I will not be iterating over the entire database.