title: How to 'bulk update' with Django?
body: <p>I'd like to update a table with Django - something like this in raw SQL:</p>
  
  <pre><code>update tbl_name set name = 'foo' where name = 'bar'
  </code></pre>
  
  <p>My first result is something like this - but that's nasty, isn't it?</p>
  
  <pre><code>list = ModelClass.objects.filter(name = 'bar')
  for obj in list:
      obj.name = 'foo'
      obj.save()
  </code></pre>
  
  <p>Is there a more elegant way?</p>