title: Django. Thread safe update or create.
body: <p>We know, that update - is thread safe operation. 
  It means, that when you do:</p>
  
  <pre><code>  SomeModel.objects.filter(id=1).update(some_field=100)
  </code></pre>
  
  <p>Instead of:</p>
  
  <pre><code>sm = SomeModel.objects.get(id=1)
  sm.some_field=100
  sm.save()
  </code></pre>
  
  <p>Your application is relativly thread safe and operation <code>SomeModel.objects.filter(id=1).update(some_field=100)</code> will not rewrite data in other model fields. </p>
  
  <p>My question is.. If there any way to do </p>
  
  <pre><code>  SomeModel.objects.filter(id=1).update(some_field=100)
  </code></pre>
  
  <p>but with creation of object if it does not exists? </p>