From eb2af16c59c3014541e2ad8ca63e510bc076dd8b Mon Sep 17 00:00:00 2001 From: "Joshua \"jag\" Ginsberg" Date: Wed, 20 Nov 2013 20:03:02 -0500 Subject: Fixed #21483 -- Added WSGI environ to kwargs sent to request_started signal. --- docs/ref/signals.txt | 6 ++++++ docs/releases/1.8.txt | 4 ++++ 2 files changed, 10 insertions(+) (limited to 'docs') diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt index f2f1709cea..823545dd07 100644 --- a/docs/ref/signals.txt +++ b/docs/ref/signals.txt @@ -589,6 +589,12 @@ Arguments sent with this signal: ``sender`` The handler class -- e.g. ``django.core.handlers.wsgi.WsgiHandler`` -- that handled the request. +``environ`` + The ``environ`` dictionary provided to the request. + +.. versionchanged:: 1.8 + + The ``environ`` argument was added. request_finished ---------------- diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 7d9a71c6e5..2fac733648 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -256,6 +256,10 @@ Signals :meth:`Signal.send_robust() ` now have their traceback attached as a ``__traceback__`` attribute. +* The ``environ`` argument, which contains the WSGI environment structure from + the request, was added to the :data:`~django.core.signals.request_started` + signal. + Templates ^^^^^^^^^ -- cgit v1.3