DetailView.toHTML() throws exception if neither 'data' nor 'model' set.