@nickstenn we only have to solve this for the ``DEBUG=True`` case

From [django-cms-docs](http://docs.django-cms.org/en/2.4.3/advanced/templatetags.html#page-url):

> "If a matching page isn’t found and DEBUG is True, an exception will be raised. However, if DEBUG is False, an exception will not be raised. Additionally, if SEND_BROKEN_LINK_EMAILS is True and you have specified some addresses in MANAGERS, an email will be sent to those addresses to inform them of the broken link.