#15298: Nicer error message when TemplateResponseMixin not provided with a
template_name
---------------------------+------------------------------------------------
 Reporter:  rasca          |          Owner:  nobody    
   Status:  new            |      Milestone:  1.3       
Component:  Generic views  |        Version:  SVN       
 Keywords:  blocker        |   Triage Stage:  Unreviewed
Has patch:  0              |  
---------------------------+------------------------------------------------
 When I call a view that inherits TemplateResponseMixin without a
 `template_name` defined I get

 {{{
 TemplateDoesNotExist at ´whatever url we called´
 No exception supplied
 }}}

 We could improve this by explaining the error either in
 template.response.TemplateResponse or
 views.generic.base.TemplateResponseMixin

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15298>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to