#21154: `TemplateResponse` does not convert `Context` to `RequestContext`.
-------------------------------------+-------------------------------------
     Reporter:  mrmachine            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Template system      |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  TemplateResponse     |             Triage Stage:
  Context RequestContext             |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by FunkyBob):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Personally, I think it would be better to document this.

 If you pass a dict, it will be "upgraded" to a RequestContext.

 If you took the trouble to build a Context, it's assumed you did so for a
 reason.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21154#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 [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/067.3ed44639da46e51bd8ff7ef9af19f383%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to