In Django, how can I prevent a "Save with update_fields did not affect any rows." error? : <p>I'm using Django and Python 3.7.  I have this code</p>

<pre><code>article = get_article(id)
...
article.label = label
article.save(update_fields=["label"])
</code></pre>

<p>Sometimes I get the following error on my "save" line ...</p>

<pre><code>    raise DatabaseError("Save with update_fields did not affect any rows.")
django.db.utils.DatabaseError: Save with update_fields did not affect any rows.
</code></pre>

<p>Evidently, in the "..." another thread may be deleting my article.  Is there another way to rewrite my "article.save(...)" statement such that if the object no longer exists I can ignore any error being thrown?</p>
