summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2011-08-20 19:22:34 +0000
committerTimo Graham <timograham@gmail.com>2011-08-20 19:22:34 +0000
commit2ac0b97d4340bef2d26ad09841553ff5d5147d23 (patch)
tree0b4d906b78e3130e25f941e83715712eb723dbee /docs
parent920d01edb751293af2a9e6657a9c38dd02ff6fff (diff)
Fixed #16595 - Add pop() to session docs; thanks wilfred.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/http/sessions.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/topics/http/sessions.txt b/docs/topics/http/sessions.txt
index fb86a98ed9..091b8892be 100644
--- a/docs/topics/http/sessions.txt
+++ b/docs/topics/http/sessions.txt
@@ -165,6 +165,10 @@ You can edit it multiple times.
Example: ``fav_color = request.session.get('fav_color', 'red')``
+ .. method:: pop(key)
+
+ Example: ``fav_color = request.session.pop('fav_color')``
+
.. method:: keys
.. method:: items