remove ShoppingList model and tests

This commit is contained in:
smilerz
2024-02-20 17:09:18 -06:00
parent 21094eecc6
commit c8c8792ea8
16 changed files with 303 additions and 960 deletions

View File

@@ -75,7 +75,7 @@ def is_object_owner(user, obj):
if not user.is_authenticated:
return False
try:
return obj.get_owner() == user
return obj.get_owner() == 'orphan' or obj.get_owner() == user
except Exception:
return False