Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[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 timgraham authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/topics/http/sessions.txt
4 docs/topics/http/sessions.txt
View
@@ -132,6 +132,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
Please sign in to comment.
Something went wrong with that request. Please try again.