#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: fixed
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by Sayid Munawar):
* status: new => closed
* resolution: => fixed
Comment:
sorry Tim, my proposed change didn't mean to really fix the problem, just
a workaround so that i can continue to code.
using `context.update({'menu': 'menu.html'})` solved my problem. it just
weird since it was working fine until 1.10
--
Ticket URL: <https://code.djangoproject.com/ticket/27722#comment:2>
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.b1a2906ef92183de26fcb1dc248fda95%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.