diff options
| author | Timo Graham <timograham@gmail.com> | 2011-08-20 19:22:34 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2011-08-20 19:22:34 +0000 |
| commit | 2ac0b97d4340bef2d26ad09841553ff5d5147d23 (patch) | |
| tree | 0b4d906b78e3130e25f941e83715712eb723dbee | |
| parent | 920d01edb751293af2a9e6657a9c38dd02ff6fff (diff) | |
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
| -rw-r--r-- | docs/topics/http/sessions.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
