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
This commit is contained in:
Timo Graham 2011-08-20 19:22:34 +00:00
parent 920d01edb7
commit 2ac0b97d43
1 changed files with 4 additions and 0 deletions

View File

@ -165,6 +165,10 @@ You can edit it multiple times.
Example: ``fav_color = request.session.get('fav_color', 'red')`` Example: ``fav_color = request.session.get('fav_color', 'red')``
.. method:: pop(key)
Example: ``fav_color = request.session.pop('fav_color')``
.. method:: keys .. method:: keys
.. method:: items .. method:: items