From d1f5cb684054c980d6c55c4da3e513a7d6f3b8c3 Mon Sep 17 00:00:00 2001 From: Robin Champenois Date: Sun, 30 Aug 2020 12:48:47 +0200 Subject: [PATCH] =?UTF-8?q?Print=20oubli=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestioncof/cms/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gestioncof/cms/models.py b/gestioncof/cms/models.py index 88650e5f..b5dab78b 100644 --- a/gestioncof/cms/models.py +++ b/gestioncof/cms/models.py @@ -23,7 +23,6 @@ class COFRewriteUrlMixin: pattern = getattr(settings, "SITECOF_INTERNAL_URL", r"^/(en/|fr/|)sitecof/") replace = getattr(settings, "SITECOF_PUBLIC_URL", "/\\1news/") - print(pattern, replace, page_path) page_path = re.sub(pattern, replace, page_path) return (site_id, root_url, page_path)