#8116: django.template.loader.select_template should not silently skip a template which includes another template that does not exist ---------------------------------+---------------------------------------- Reporter: Michael P. Jung | Owner: unaizalakain Type: Bug | Status: assigned Component: Template system | Version: master Severity: Normal | Resolution: Keywords: sprint2013 | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------------+----------------------------------------
Comment (by unaizalakain): Uh, you are quite right, I don't know how I worked on it so blindly!! The thing is that `select_template` doesn't even render the templates so there isn't any chance of handling the inexistence of included templates. The included template is rendered when the master template is rendered and there, there isn't any issue with `TemplateDoesNotExist` being ignored. I think this issue could be from a time when instantiating a `Template` would automatically render it (dunno). I would like somebody else to confirm it but I would close this issue as invalid. Thanks for making sense of all this and stopping it before it was merged! -- Ticket URL: <https://code.djangoproject.com/ticket/8116#comment:31> 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/073.5783910b600c88bb116afafc84df669f%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.