From 4a8f18d89ba39801822230511452d3e97fcc9c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 21 Jul 2022 13:26:03 +0200 Subject: [PATCH] misc: wrap Page __str__ value in str() to please pylint (#67470) --- combo/data/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combo/data/models.py b/combo/data/models.py index 61e349bd..fbbc37cf 100644 --- a/combo/data/models.py +++ b/combo/data/models.py @@ -258,7 +258,7 @@ class Page(models.Model): ordering = ['order'] def __str__(self): - return self.title + return str(self.title) def natural_key(self): return (self.get_online_url(follow_redirection=False).strip('/'),)