Django

Code

Ticket #1137 (closed: fixed)

Opened 3 years ago

Last modified 2 years ago

Add __contains__ method to SessionWrapper

Reported by: brantley Assigned to: adrian
Milestone: Component: Core framework
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

sessionwrapper.diff (484 bytes) - added by brantley on 12/29/05 13:11:48.
patch for problem

Change History

12/29/05 13:11:48 changed by brantley

  • attachment sessionwrapper.diff added.

patch for problem

12/29/05 13:17:32 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #1137 (Add __contains__ method to SessionWrapper)




Change Properties
Action