It would be great to be able to do something like doc = Document.objects.find_and_modify to atomically retrieve and create/modify documents.