We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17dc6dc commit 2f49872Copy full SHA for 2f49872
flask_mongoengine/sessions.py
@@ -36,6 +36,7 @@ class DBSession(db.Document):
36
data = db.DictField()
37
expiration = db.DateTimeField()
38
meta = {
39
+ 'allow_inheritance': False,
40
'collection': collection,
41
'indexes': [{'fields': ['expiration'],
42
'expireAfterSeconds': 60 * 60 * 24 * 7 * 31}]
0 commit comments