The FBV's included in contrib.auth.views don't use RequestContext(), they jump straight to TemplateResponse():
https://github.com/django/django/blob/master/django/contrib/auth/views.py#L192 IIRC, rendering a context via a RequestContext() is what triggers the TEMPLATE_CONTEXT_PROCESSORS to run. I could be wrong though, the docs are not really explicit as to what triggers a call out to TEMPLATE_CONTEXT_PROCESSORS, and I haven't tested it. Everything I do is in CBV's, so I always assume that RequestContext() is used. If it makes you feel better, I did try the same experiment using auth.views.password_reset, and my TEMPLATE_CONTEXT_PROCESSORS didn't run either, and work beautifully in my CBV's. It's probably possible to wrap auth.views.auth.views.password_reset and shoehorn in a RequestContext() or render call when it returns, but I haven't needed/researched how to do so. That might also trigger rendering of the template twice, which may be acceptable for performance for a low usage page like a password reset form. Better yet, you can wrap the view with your own FB view that simply calls auth.views.auth.views.password_reset, passing in an extra_context={<stuff from your context processors>} as one of the view arguments. Probably cleaner and keeps all the Django batteries intact. You might be able to do it inside of your urls.py as well, although that might get a bit uglier. https://docs.djangoproject.com/en/1.7/topics/auth/default/#django.contrib.auth.views.password_reset I have no insight on future plans with anything in Django beyond the public release notes. -James On Tue, Jan 20, 2015 at 6:50 AM, Mark Rogaski <mroga...@pobox.com> wrote: > And looking at the request using django-debug-toolbar, I confirmed that > none of the context processors were applied to the templates. > > > On Tuesday, January 20, 2015 at 8:26:22 AM UTC-5, Mark Rogaski wrote: >> >> Yes, I've appended it to the defaults. >> >> TEMPLATE_CONTEXT_PROCESSORS += ( 'django.core.context_ >> processors.request', ) >> >> On Tuesday, January 20, 2015 at 7:43:54 AM UTC-5, Edgar Gabaldi wrote: >>> >>> did you register the context processor in settings? >>> >>> On Tue, Jan 20, 2015 at 3:32 AM, Mark Rogaski <mrog...@pobox.com> wrote: >>> >>>> Hello, >>>> >>>> I'm coming back to Django after working with 1.4/1.5. Within a custom >>>> template for auth.views.password_reset, I'd like to access the request >>>> data using django.core.context_processors.request. But it doesn't >>>> look like any template context processors are applied. >>>> >>>> It's not a big problem for me, but it seems that the contrib packages >>>> should support this ... it's really a lovely feature. Has anyone else run >>>> into this or know if this is something that is slated to be added? >>>> >>>> Thanks, >>>> Mark >>>> >>>> -- >>>> 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...@googlegroups.com. >>>> To post to this group, send email to django...@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/df79e5ef-67e0-41fd-9ca1-af4d0eaefd4f% >>>> 40googlegroups.com >>>> <https://groups.google.com/d/msgid/django-users/df79e5ef-67e0-41fd-9ca1-af4d0eaefd4f%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- > 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/bf857384-6699-49c7-a14f-3d6c6247eaa2%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/bf857384-6699-49c7-a14f-3d6c6247eaa2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2Be%2BciURZZjyswyWoed%3D-QumVmjS1VyPs1FUTC-Ap%3DiNHKpyFg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.