Fix minor bugs and improve some model fields

This commit is contained in:
cuom1999 2024-08-21 22:42:42 -05:00
parent f98549e92d
commit a42bae51f7
7 changed files with 56 additions and 14 deletions

View file

@ -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):