From bf16befc433ff9e1764db0fa57ef05b507eee0e0 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 10 Feb 2006 21:33:07 +0000 Subject: Fixed #1339 -- Added keys() and items() methods to session objects. Thanks, Ned Batchelder git-svn-id: http://code.djangoproject.com/svn/django/trunk@2300 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/sessions.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/sessions.txt b/docs/sessions.txt index d3d1873a9a..6a208a1461 100644 --- a/docs/sessions.txt +++ b/docs/sessions.txt @@ -50,6 +50,12 @@ It implements the following standard dictionary methods: * ``get(key, default=None)`` Example: ``fav_color = request.session.get('fav_color', 'red')`` + * ``keys()`` + **New in Django development version.** + + * ``items()`` + **New in Django development version.** + It also has these three methods: * ``set_test_cookie()`` -- cgit v1.3