From f47cfb0e50f689c2bc758e0261c237c9c7a3dd0a Mon Sep 17 00:00:00 2001 From: baoliang Date: Sat, 19 Sep 2020 00:15:12 +0800 Subject: [PATCH] refactor message --- polls/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polls/models.py b/polls/models.py index 50373c5..41dfd8a 100644 --- a/polls/models.py +++ b/polls/models.py @@ -117,7 +117,7 @@ class Message(models.Model): ordering = ["-added"] def __str__(self): - return self.send_from + ':' + self.send_toÒ + return self.send_from + ':' + self.send_to class NormalMessage(Message):