Skip to content

Commit

Permalink
DOC: minor casing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dalmia committed Jan 31, 2022
1 parent eb36b2c commit e85d3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plio/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def delete_linked_image_on_question_deletion(sender, instance, **kwargs):
# since we are using soft deletion, the `post_delete` signal is never called
# also, the way deletion works under the hood when using soft delete is that it
# just sets the `deleted` attribute and updates the instance. so, by default,
# the deleted attribute is None. When we execute soft_delete, that attribute gets set
# the deleted attribute is None. when we execute soft_delete, that attribute gets set
if instance.deleted is not None and instance.image is not None:
# if any image is linked to the question instance,
# (soft) delete that image as well
Expand Down

0 comments on commit e85d3ca

Please sign in to comment.