Add a request argument to the html_head signals

This commit is contained in:
Raphael Michel
2015-03-16 01:31:52 +01:00
parent f54515ba0a
commit e20ecb67d8
5 changed files with 6 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ def contextprocessor(request):
}
_html_head = []
if hasattr(request, 'event'):
for receiver, response in html_head.send(request.event):
for receiver, response in html_head.send(request.event, request=request):
_html_head.append(response)
ctx['html_head'] = "".join(_html_head)