From 6ae8215f41d74ac210a8a19b60b0f5551b768935 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 28 Sep 2021 17:21:35 -0700 Subject: [PATCH] Adds comment --- bookwyrm/models/shelf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bookwyrm/models/shelf.py b/bookwyrm/models/shelf.py index e35971e2..c578f082 100644 --- a/bookwyrm/models/shelf.py +++ b/bookwyrm/models/shelf.py @@ -55,6 +55,7 @@ class Shelf(OrderedCollectionMixin, BookWyrmModel): @property def deletable(self): + """can the shelf be safely deleted?""" return self.editable and not self.shelfbook_set.exists() def get_remote_id(self):