Print oublié
This commit is contained in:
parent
737a3e377c
commit
d1f5cb6840
1 changed files with 0 additions and 1 deletions
|
@ -23,7 +23,6 @@ class COFRewriteUrlMixin:
|
||||||
pattern = getattr(settings, "SITECOF_INTERNAL_URL", r"^/(en/|fr/|)sitecof/")
|
pattern = getattr(settings, "SITECOF_INTERNAL_URL", r"^/(en/|fr/|)sitecof/")
|
||||||
replace = getattr(settings, "SITECOF_PUBLIC_URL", "/\\1news/")
|
replace = getattr(settings, "SITECOF_PUBLIC_URL", "/\\1news/")
|
||||||
|
|
||||||
print(pattern, replace, page_path)
|
|
||||||
page_path = re.sub(pattern, replace, page_path)
|
page_path = re.sub(pattern, replace, page_path)
|
||||||
|
|
||||||
return (site_id, root_url, page_path)
|
return (site_id, root_url, page_path)
|
||||||
|
|
Loading…
Reference in a new issue