Custom page renderer not working

I’m banging my head against the wall trying to get a custom page renderer to work.

In my, I’ve added:

page_renderer = ["myapp.renderers.custom_page_renderer.CustomPage"]

Then, in frappe-bench/apps/myapp/myapp/renderers/, I’ve got the following:

from import build_response
from import BaseRenderer

class CustomPage(BaseRenderer):
    def can_render(self):
        return True

    def render(self):
        response_html = "<div>Custom Response</div>"
        return self.build_response(response_html)

All of this seems to be consistent with the instructions here, but still no joy. Any ideas?

Any insight here would be extremely appreciated. I’m really not sure what I’m doing wrong.