#30923: Out of date examples in docs that call render() with a Context instance
instead of regular dict
-------------------------------------+-------------------------------------
     Reporter:  Alasdair Nicol       |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  new
    Component:  Documentation        |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  Context render       |             Triage Stage:  Accepted
  template                           |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

 * stage:  Unreviewed => Accepted


Comment:

 For the auto-escaping case, the solution I'm using is to define a custom
 template engine with `OPTIONS` containing `'autoescape': False,`. I don't
 know if this is the recommended new way of doing what the current example
 does.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30923#comment:3>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/071.9bc674e9faf59ab6093221d0ba302ccd%40djangoproject.com.

Reply via email to