On Wed, Jan 21, 2015 at 2:31 PM, Mark Rogaski <mroga...@pobox.com> wrote:
> Thanks, James.  I think the call to TemplateResponse is fine, but the
> context that's passed as a dict needs to be passed as a ContextRequest
> instead.

https://docs.djangoproject.com/en/1.7/ref/template-response/#django.template.response.TemplateResponse

"TemplateResponse is a subclass of SimpleTemplateResponse that uses a
RequestContext instead of a Context."

So something else is going awry. Fire up a shell and confirm the value
of settings.TEMPLATE_CONTEXT_PROCESSORS is what you expect it to be.

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFHbX1%2BcUM13fdrEwXykLuWdsTb7uevz0kMQahY5TCioCv38EA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to