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)