Author: timo Date: 2011-08-20 12:23:16 -0700 (Sat, 20 Aug 2011) New Revision: 16629
Modified: django/branches/releases/1.3.X/docs/topics/http/sessions.txt Log: [1.3.X] Fixed #16595 - Add pop() to session docs; thanks wilfred. Backport of r16628 from trunk. Modified: django/branches/releases/1.3.X/docs/topics/http/sessions.txt =================================================================== --- django/branches/releases/1.3.X/docs/topics/http/sessions.txt 2011-08-20 19:22:34 UTC (rev 16628) +++ django/branches/releases/1.3.X/docs/topics/http/sessions.txt 2011-08-20 19:23:16 UTC (rev 16629) @@ -132,6 +132,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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.