Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

django.template.context_processors.request not listed amongst context_processors? #36

Open
usonianhorizon opened this issue Jul 2, 2015 · 1 comment
Labels

Comments

@usonianhorizon
Copy link

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.

@arocks
Copy link
Owner

arocks commented Jul 3, 2015

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.

@arocks arocks added the bug label Jul 3, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants