Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added options for optional encoding of session data; name of sessions collection; issues #180 and #181 #182

Merged
merged 4 commits into from Dec 10, 2012

Conversation

AdrianScott
Copy link
Contributor

Hi!

These upgrades add the following 2 options for Django sessions support, per issues #180 and #181:

  • Session_data may be stored in the MongoDB session document-object model unencoded, optionally. This lets applications potentially search for sessions for a particular user through a MongoDB query, something useful, for example, in expiring user sessions upon a password change.
  • a new parameter for the name of the sessions collection used for storage in MongoDB, so that it is no longer hard-coded. Nice for applications which access datastore through multiple ways, not just through Django.

Enjoy -- thanks!!

-Adrian Scott

founding investor, Napster
founder, Ryze, social networking pioneer

Adrian Scott added 3 commits November 29, 2012 20:53
Added a parameter for the name of the session collection; Added the
option to not encode session_data, which is useful for expiring sessions
of users when a password is changed, etc.; these upgrades provided by
SocialVilla Inc.
@rozza
Copy link
Contributor

rozza commented Dec 5, 2012

Hi thanks for the tickets and pull request will review and add to 0.8

added me (Adrian Scott, issues 180, 181)
@AdrianScott
Copy link
Contributor Author

Cool, thanks!

-A

On 12/5/2012 3:23 AM, Ross Lawley wrote:

Hi thanks for the tickets and pull request will review and add to 0.8


Reply to this email directly or view it on GitHub
#182 (comment).

Adrian Scott, Ph.D.

@rozza rozza merged commit bb15bf8 into MongoEngine:master Dec 10, 2012
@rozza
Copy link
Contributor

rozza commented Dec 10, 2012

Will release in 0.7.8

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling bb15bf8 on AdrianScott:master into * on MongoEngine:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling bb15bf8 on AdrianScott:master into * on MongoEngine:master*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants