How to update an object or bail if it has been deleted in Django,thing.save()