#24234: Create Context object in a separate method
---------------------------------+-----------------------
     Reporter:  AlexHill         |      Owner:  nobody
         Type:  Uncategorized    |     Status:  new
    Component:  Template system  |    Version:  1.8alpha1
     Severity:  Normal           |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  1
Easy pickings:  1                |      UI/UX:  0
---------------------------------+-----------------------
 In 1.8, `django.templates.backends.django.Template.render` accepts a
 context dict, and uses that to instantiate a Context (or RequestContext)
 object before passing it to the actual DTL template's `render()`.

 I'd like to break the Context-creation code into its own method so that I
 can call it from my library [https://github.com/alexhill/djpj DjPj], as I
 do with `TemplateResponse.resolve_context` in 1.7 and below.

 It's a very small patch:
 https://github.com/AlexHill/django/compare/stable/1.8.x?diff=split#diff-
 6492e208d64b891c181c85a794d0b303R58

--
Ticket URL: <https://code.djangoproject.com/ticket/24234>
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/051.f9e42fc109c9d004b94991f5cbe731d6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to