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:
parent
920d01edb7
commit
2ac0b97d43
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue