Dan Brezeanu
Dan Brezeanu
I have a Sonoff B05-BL-A60 which has the Sonoff DIY API available. I've added the device just to my network, didn't add it in EWeLink. Tested the device API with...
Code snippet for bug replication: ```py class MyModel(ParanoidModel): id = models.AutoField(primary_key=True) MyModel.objects.all().delete() ``` Deleting entries this way bypasses the overridden `delete()` method, thus hard deleting the objects from the database....
Update the short example and other formatting issues.
Signed-off-by: Dan Brezeanu ## Checklist - [x] Tested with the real device - [x] There's an example for this, if applicable (eg. a new feature) - [x] There's some test...