Print oublié

This commit is contained in:
Robin Champenois 2020-08-30 12:48:47 +02:00
parent 737a3e377c
commit d1f5cb6840

View file

@ -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)