diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-02-10 21:33:07 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-02-10 21:33:07 +0000 |
| commit | bf16befc433ff9e1764db0fa57ef05b507eee0e0 (patch) | |
| tree | 495f6d35917b25f7ea5e35aa4499913333867468 /docs | |
| parent | d8b4d29004d518459a74c5b588d3455da2871e42 (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/sessions.txt | 6 |
1 files changed, 6 insertions, 0 deletions
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()`` |
