fix local_path for groups
This commit is contained in:
parent
c87712c995
commit
df5a5f94a1
3 changed files with 43 additions and 41 deletions
|
@ -24,6 +24,10 @@ class Group(BookWyrmModel):
|
|||
related_name="members"
|
||||
)
|
||||
|
||||
def get_remote_id(self):
|
||||
"""don't want the user to be in there in this case"""
|
||||
return f"https://{DOMAIN}/group/{self.id}"
|
||||
|
||||
class GroupMember(models.Model):
|
||||
"""Users who are members of a group"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue