Comment 1 for bug 225855

Revision history for this message
Reinout van Rees (reinout) wrote :

The latest grokcore.view splitted View into View and CodeView. View always needs a template, so the error message is already much clearer as it doesn't need to take a render() into account.

Instead of "no associated template or render method" you only get "has no associated template". (With the freshly released grokcore.view that's going to be in 1.0beta1).

It can be made more clear if grokcore/view/templatereg.py is modified to keep track whether there's a grok.template setting and to return that in the error message when applicable.

So: partially fixed, but needs a bit of improvement.