Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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