Author: timo
Date: 2011-08-20 12:22:34 -0700 (Sat, 20 Aug 2011)
New Revision: 16628
Modified:
django/trunk/docs/topics/http/sessions.txt
Log:
Fixed #16595 - Add pop() to session docs; thanks wilfred.
Modified: django/trunk/docs/topics/http/sessions.txt
===================================================================
--- django/trunk/docs/topics/http/sessions.txt 2011-08-19 18:18:06 UTC (rev
16627)
+++ django/trunk/docs/topics/http/sessions.txt 2011-08-20 19:22:34 UTC (rev
16628)
@@ -165,6 +165,10 @@
Example: ``fav_color = request.session.get('fav_color', 'red')``
+ .. method:: pop(key)
+
+ Example: ``fav_color = request.session.pop('fav_color')``
+
.. method:: keys
.. method:: items
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.