This is ok, but I'd prefer something like:
```
return "//" + settings.CMS_BASE + locator.url_reverse("{}/".format(page), '')
```
and drop line 326. No reason to permanently mutate the value of page.