edge
edge copied to clipboard
django.template.context_processors.request not listed amongst context_processors?
Since I am new to Django, I'm uncertain whether not listing django.template.context_processors.request amongst context_processors in settings/base.py is intentional or not, but I was trying to get referrer redirect working using request.path inside a template and couldn't figure out why this was null until I stumbled across the requirement for this include.
Regards.
Thanks for pointing this out. It was intentional. This was not included by default until Django 1.7 as mentioned in the docs.
But it is included by default in 1.8. I shall mark this as a bug.