From 2ac0b97d4340bef2d26ad09841553ff5d5147d23 Mon Sep 17 00:00:00 2001 From: Timo Graham Date: Sat, 20 Aug 2011 19:22:34 +0000 Subject: [PATCH] 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 --- docs/topics/http/sessions.txt | 4 ++++ 1 file changed, 4 insertions(+) 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