Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#1137 closed defect (fixed)

Add __contains__ method to SessionWrapper

Reported by: brantley Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

It's usefull to be able to do if ('key' in request.session), therefore a __contains__ method should be added to the SessionWrapper. Patch attached.

Attachments (1)

sessionwrapper.diff (484 bytes ) - added by brantley 18 years ago.
patch for problem

Download all attachments as: .zip

Change History (2)

by brantley, 18 years ago

Attachment: sessionwrapper.diff added

patch for problem

comment:1 by Adrian Holovaty, 18 years ago

Resolution: fixed
Status: newclosed

(In [1793]) Fixed #1137 -- Added a _contains_() method to SessionWrapper. Thanks, Brant

Note: See TracTickets for help on using tickets.
Back to Top