diff options
| author | Timo Graham <timograham@gmail.com> | 2011-08-20 19:23:16 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2011-08-20 19:23:16 +0000 |
| commit | 329d80faabc05ef896337b2f7bebbd60100a03cd (patch) | |
| tree | 54e01365f6da444d42882428deafa135cf15a696 | |
| parent | 3e5fc7ebb1ebbaa2d6815b8e5b98d8c845012bca (diff) | |
[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
| -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 8529f5362d..eb076f4b7a 100644 --- a/docs/topics/http/sessions.txt +++ b/docs/topics/http/sessions.txt @@ -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 |
