#24622: Response "context" and "templates" not available in the Test Client when
using Jinja2 - Django 1.8
-------------------------------------+------------------------------------
Reporter: rivantis | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 1.8
Severity: Normal | Resolution:
Keywords: jinja2, test client | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+------------------------------------
Comment (by MoritzS):
I attached a file that contains a test that will fail if we don't patch
the DTL's internals. In the test `derived.html` contains the line `{%
extends 'base.html' %}`.
However I'm not sure if that is something people want to do with template
testing, on the other hand providing a deprecation warning is not that
hard.
--
Ticket URL: <https://code.djangoproject.com/ticket/24622#comment:23>
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/066.8c093b6a3f35c70b6dc2794abfb2500b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.