Fixes boost display
This commit is contained in:
parent
8d7ded1c69
commit
29693127ba
6 changed files with 52 additions and 24 deletions
|
@ -101,6 +101,7 @@ class Boost(Status):
|
|||
self.status_type = 'Boost'
|
||||
self.activity_type = 'Announce'
|
||||
super().save(*args, **kwargs)
|
||||
|
||||
# This constraint can't work as it would cross tables.
|
||||
# class Meta:
|
||||
# unique_together = ('user', 'boosted_status')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue