arocks / arocks/edge

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

Open
#36 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
HTML
Stars
832
Forks
237
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the context_processors configuration in settings/base.py and compare it with the template use of request.path described in the issue. Done means determining whether the processor is intentionally omitted or should be included so the reported template context is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.