#25373: Add logging for {% include %} exceptions when template.debug = False ---------------------------------+------------------------------------ Reporter: limnick | Owner: nobody Type: New feature | Status: new Component: Template system | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------------+------------------------------------ Changes (by timgraham):
* needs_better_patch: => 0 * component: contrib.admin => Template system * needs_tests: => 0 * easy: 1 => 0 * needs_docs: => 0 * type: Bug => New feature * stage: Unreviewed => Accepted Comment: Updated title to reflect that the issue is really about the template system and the `{% include %}` template tag, not the admin. As the docs note: When debug mode is turned on, an exception like `TemplateDoesNotExist` or `TemplateSyntaxError` will be raised; otherwise `{% include %}` silences any exception that happens while rendering the included template and returns an empty string. -- Ticket URL: <https://code.djangoproject.com/ticket/25373#comment:1> Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.4da2bd98599ddbe83b41ecbabbd71c62%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.