Réarrangement du code; correction css; écriture uniquement du nouveau message

This commit is contained in:
2023-12-19 11:27:18 +01:00
parent fb0f9be103
commit acba77e228
27 changed files with 166 additions and 129 deletions

View File

@ -20,5 +20,5 @@ class MessageModel(models.Model):
content = models.CharField(max_length=255)
time = IntegerField(primary_key=False)
def __str__(self):
def __str__(self):
return "author_id: " + str(self.author_id) + ", channel_id: " + str(self.channel_id) + ", content: " + self.content