﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27570	Make context processor run outside of RequestContext	Anthony King	nobody	"Not all templates are generated within the context of a request, such as email rendering. 
This prevents you accessing variables that are set in your context processors. 

In our codebase, we pass in some settings and other constants via a context processor, which never looks at the request object. 

It would be convenient for those constants to be used in all templates, as apposed to templates with requests only. 


I see 2 possible approaches to adding this functionality:

- Add a constant_processor, however this wrongly limits it to constants. 

- make the request argument optional going forward, and use arg inspections to conditionally context processors for a period. 

Using `some_context_processor(request=None)` would show the processor supports request objects not being set. "	New feature	closed	Template system	dev	Normal	wontfix			Unreviewed	0	0	0	0	0	0
