From 6a50b7c6555aeedb7d6ef5aa296635f777bd46c8 Mon Sep 17 00:00:00 2001 From: Sebastien Mirolo Date: Thu, 11 Apr 2024 18:08:02 -0700 Subject: [PATCH] restores py27 compatibility (take 2) --- pages/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/models.py b/pages/models.py index 47f68e2..b536684 100644 --- a/pages/models.py +++ b/pages/models.py @@ -285,7 +285,7 @@ def get_related_to(self, tag): from_element__dest_element=self) def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) + super(PageElement, self).__init__(*args, **kwargs) self.__original_text = self.text def save(self, force_insert=False, force_update=False,