Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 2ac0b97d4340bef2d26ad09841553ff5d5147d23 1 parent 920d01e
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
@@ -165,6 +165,10 @@ You can edit it multiple times.
165 165
 
166 166
       Example: ``fav_color = request.session.get('fav_color', 'red')``
167 167
 
  168
+    .. method:: pop(key)
  169
+
  170
+      Example: ``fav_color = request.session.pop('fav_color')``
  171
+
168 172
     .. method:: keys
169 173
 
170 174
     .. method:: items

0 notes on commit 2ac0b97

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