From f7f812cd7087625266f69596fb914a919bc798ae Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 29 Dec 2005 19:17:32 +0000 Subject: Fixed #1137 -- Added a _contains_() method to SessionWrapper. Thanks, Brant git-svn-id: http://code.djangoproject.com/svn/django/trunk@1793 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/sessions.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/sessions.txt b/docs/sessions.txt index bea246e17d..fbb11e4198 100644 --- a/docs/sessions.txt +++ b/docs/sessions.txt @@ -34,6 +34,9 @@ it and write to it. It implements the following standard dictionary methods: + * ``__contains__(key)`` + **New in Django development version.** Example: ``'fav_color' in request.session`` + * ``__getitem__(key)`` Example: ``fav_color = request.session['fav_color']`` -- cgit v1.3