I am trying to following along with this tutorial I've created my dexterity content type and the default view for it works correctly but I can't seem to get it to work with a custom view
here is the relevant part of the confgure.zcml
<browser:page name="view" for=".content.custom_client.ICustomClient" class=".content.custom_client.CustomClientView" template="content/custom_client.pt" permission="zope2.View" />
CustomClientView (in custom_client.py)-
class CustomClientView(BrowserView): def sesions(self): context = aq_inner(self.context) catalog = api.portal.get_tool(name="portal_catalog") return catalog( object_provides=ICustomClient.__identifier__, path='/'.join(context.getPhysicalPath()), sort_on='sortable_title' )
and this is what my folder structure looks like
and this is the error message I'm seeing for
I've tried to change the path to the template a few times but then I get and error message when running plonectl fg that 'the template file cannot be found'
Does everything look correct with how I have this configured?