#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:  closed
    Component:  Template system  |                  Version:  master
     Severity:  Normal           |               Resolution:  wontfix
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------

Comment (by Tim Graham):

 The question in my mind is whether or not to keep the fix for #27258
 (maybe it's too restrictive -- in your use case, I'm not sure if
 `django.Template.render()` with `RequestContext` will give any surprising
 behaviors) or maybe some change could be made to `{% include %}` to either
 raise a more descriptive error message or to allow the use case to keep
 working.

--
Ticket URL: <https://code.djangoproject.com/ticket/27722#comment:7>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.546f2d32dd727a6e86dd8cb9ff3378d8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to