Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#1137 closed defect (fixed)

Add __contains__ method to SessionWrapper

Reported by: brantley Owned by: adrian
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: UI/UX:


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 10 years ago.
patch for problem

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by brantley

patch for problem

comment:1 Changed 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

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