summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-10-29 16:56:16 -0400
committerTim Graham <timograham@gmail.com>2015-10-29 17:29:16 -0400
commitadc9fa8324f087e822653894bd0b97df8601b5cd (patch)
tree2c10501d4abe18c73b3f7aa9d56beb59a0cd8399 /docs
parent6eaf43a24471f98939da18d031b4f0b4e49640c6 (diff)
[1.9.x] Fixed #25489 -- Documented that SESSION_SAVE_EVERY_REQUEST doesn't create empty sessions.
Backport of abf5ccc29c45d53ec17541179bb5f0a75b28915d from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/settings.txt3
-rw-r--r--docs/releases/1.4.22.txt3
-rw-r--r--docs/releases/1.7.10.txt3
-rw-r--r--docs/releases/1.8.4.txt3
4 files changed, 8 insertions, 4 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 6a398e1c60..75ea880932 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -3095,7 +3095,8 @@ Default: ``False``
Whether to save the session data on every request. If this is ``False``
(default), then the session data will only be saved if it has been modified --
-that is, if any of its dictionary values have been assigned or deleted.
+that is, if any of its dictionary values have been assigned or deleted. Empty
+sessions won't be created, even if this setting is active.
.. setting:: SESSION_SERIALIZER
diff --git a/docs/releases/1.4.22.txt b/docs/releases/1.4.22.txt
index 9f8177440f..bed56d42e7 100644
--- a/docs/releases/1.4.22.txt
+++ b/docs/releases/1.4.22.txt
@@ -21,7 +21,8 @@ by sending repeated requests, potentially filling up the session store or
causing other users' session records to be evicted.
The :class:`~django.contrib.sessions.middleware.SessionMiddleware` has been
-modified to no longer create empty session records.
+modified to no longer create empty session records, including when
+:setting:`SESSION_SAVE_EVERY_REQUEST` is active.
Additionally, the ``contrib.sessions.backends.base.SessionBase.flush()`` and
``cache_db.SessionStore.flush()`` methods have been modified to avoid creating
diff --git a/docs/releases/1.7.10.txt b/docs/releases/1.7.10.txt
index 38af4a42ce..7fb8e85a55 100644
--- a/docs/releases/1.7.10.txt
+++ b/docs/releases/1.7.10.txt
@@ -17,7 +17,8 @@ by sending repeated requests, potentially filling up the session store or
causing other users' session records to be evicted.
The :class:`~django.contrib.sessions.middleware.SessionMiddleware` has been
-modified to no longer create empty session records.
+modified to no longer create empty session records, including when
+:setting:`SESSION_SAVE_EVERY_REQUEST` is active.
Additionally, the ``contrib.sessions.backends.base.SessionBase.flush()`` and
``cache_db.SessionStore.flush()`` methods have been modified to avoid creating
diff --git a/docs/releases/1.8.4.txt b/docs/releases/1.8.4.txt
index e894936bcc..ee36c41fbc 100644
--- a/docs/releases/1.8.4.txt
+++ b/docs/releases/1.8.4.txt
@@ -17,7 +17,8 @@ by sending repeated requests, potentially filling up the session store or
causing other users' session records to be evicted.
The :class:`~django.contrib.sessions.middleware.SessionMiddleware` has been
-modified to no longer create empty session records.
+modified to no longer create empty session records, including when
+:setting:`SESSION_SAVE_EVERY_REQUEST` is active.
Bugfixes
========