#27722: if a template context is an instance of get_template(), it will raise "TypeError: context must be a dict rather than RequestContext" ---------------------------------+------------------------------------ Reporter: Sayid Munawar | Owner: nobody Type: Bug | Status: new Component: Template system | Version: 1.11 Severity: Release blocker | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------------+------------------------------------
Comment (by Tim Graham): Makes sense, here's a [https://github.com/django/django/pull/7960 PR] for the suggested approach. I didn't investigate the issue of restricting `{% include %}` to the same engine yet. Actually, there's ticket #24577 for that. I didn't think about if it's a prerequisite for making this change. -- Ticket URL: <https://code.djangoproject.com/ticket/27722#comment:14> 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.c130fb108b677fbfdd0936b985ab713d%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.