Fix minor bugs and improve some model fields
This commit is contained in:
parent
f98549e92d
commit
a42bae51f7
7 changed files with 56 additions and 14 deletions
|
@ -24,6 +24,7 @@ class Room(models.Model):
|
|||
|
||||
class Meta:
|
||||
app_label = "chat_box"
|
||||
unique_together = ("user_one", "user_two")
|
||||
|
||||
@cached_property
|
||||
def _cached_info(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue