Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.3.X] Fixed #16595 - Add pop() to session docs; thanks wilfred.

Backport of r16628 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 329d80faabc05ef896337b2f7bebbd60100a03cd 1 parent 3e5fc7e
Tim Graham authored August 20, 2011

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  docs/topics/http/sessions.txt
4  docs/topics/http/sessions.txt
@@ -132,6 +132,10 @@ You can edit it multiple times.
132 132
 
133 133
       Example: ``fav_color = request.session.get('fav_color', 'red')``
134 134
 
  135
+    .. method:: pop(key)
  136
+
  137
+      Example: ``fav_color = request.session.pop('fav_color')``
  138
+
135 139
     .. method:: keys
136 140
 
137 141
     .. method:: items

0 notes on commit 329d80f

Please sign in to comment.
Something went wrong with that request. Please try again.