Adds privacy and recipient details to list items
This commit is contained in:
parent
1f930ba821
commit
b1491c2ac6
4 changed files with 59 additions and 27 deletions
|
@ -68,9 +68,7 @@ class ShelfBook(CollectionItemMixin, BookWyrmModel):
|
|||
book = fields.ForeignKey(
|
||||
"Edition", on_delete=models.PROTECT, activitypub_field="book"
|
||||
)
|
||||
shelf = models.ForeignKey(
|
||||
"Shelf", on_delete=models.PROTECT
|
||||
)
|
||||
shelf = models.ForeignKey("Shelf", on_delete=models.PROTECT)
|
||||
user = fields.ForeignKey(
|
||||
"User", on_delete=models.PROTECT, activitypub_field="actor"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue