From f3e4c5f7f949ea07e876c51cd085b7d734177740 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 18 May 2021 18:44:15 +0300 Subject: Small fixes --- servo/models/note.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servo/models/note.py') diff --git a/servo/models/note.py b/servo/models/note.py index 77865cd..da71bd6 100644 --- a/servo/models/note.py +++ b/servo/models/note.py @@ -561,7 +561,7 @@ class Note(MPTTModel): else: return "/notes/saved/%d/view/" % self.pk - def __unicode__(self): + def __str__(self): return str(self.pk) class Meta: -- cgit v1.2.3