Optimize problem feed DB query
This commit is contained in:
parent
cffb76e220
commit
45b844d6c9
6 changed files with 20 additions and 47 deletions
|
@ -58,6 +58,7 @@ class UserRoom(models.Model):
|
|||
class Meta:
|
||||
unique_together = ("user", "room")
|
||||
|
||||
|
||||
class Ignore(models.Model):
|
||||
user = models.OneToOneField(
|
||||
Profile,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue