0👍
✅
Well, you can get what they are via ...settings.TEMPLATE_CONTEXT_PROCESSORS
, but you can’t use them since you need a request instance in order to do so.
0👍
If rendering your templates requires the request, why not pass that in as the sender
param when sending the signal
def my_view(request):
my_signal.send(sender=request, foo=True)
return HttpResponse("YadaYadaYada")
Source:stackexchange.com