Re: Upgrading from Django 1.7: render_to_response and context_instance

2018-08-08 Thread Hanne Moa
plate.context_processors.static', > 'django.template.context_processors.tz', > 'django.contrib.messages.context_processors.messages', > 'django.template.context_processors.request', > 'general.context_processors.extra_context', >

RE: Upgrading from Django 1.7: render_to_response and context_instance

2018-08-08 Thread Matthew Pava
.context_processors.messages', 'django.template.context_processors.request', 'general.context_processors.extra_context', ], }, }, ] -Original Message- From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of H

Upgrading from Django 1.7: render_to_response and context_instance

2018-08-08 Thread Hanne Moa
I'm upgrading a rather large code base from django 1.7, with the ultimate goal to have it run on 1.11, as the code isn't fully verified to run on python 3 yet. I'm replacing `render_to_response()` with `render()` everywhere a RequestContext is used, and came upon this (simplified) oddity: return