#15298 closed (fixed)
Nicer error message when TemplateResponseMixin not provided with a template_name
Reported by: | rasca | Owned by: | nobody |
---|---|---|---|
Component: | Generic views | Version: | dev |
Severity: | Keywords: | blocker | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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
Change History (3)
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [15532]: