#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 ---------------------------------+------------------------------------ Changes (by Tim Graham):
* cc: Aymeric Augustin (added) Comment: Aymeric, do you have any advice on this one? It seems the technique described in this ticket doesn't have the issue of no context processors running (#27258) because the `RequestContext` that the `django.Template()` is called with already has the context processors run for the parent template. If backwards-compatibility must be kept for this case, I'm inclined to revert 6a7495051304d75865add6ff96422018984e1663 rather than try to devise a more complicated solution. -- Ticket URL: <https://code.djangoproject.com/ticket/27722#comment:10> 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.9f2e25456690519d44842b4144862961%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.