added comments
This commit is contained in:
parent
b10d76cf4b
commit
4fe87b40da
@ -15,10 +15,12 @@ MONGOENGINE_SESSION_DB_ALIAS = getattr(
|
|||||||
settings, 'MONGOENGINE_SESSION_DB_ALIAS',
|
settings, 'MONGOENGINE_SESSION_DB_ALIAS',
|
||||||
DEFAULT_CONNECTION_NAME)
|
DEFAULT_CONNECTION_NAME)
|
||||||
|
|
||||||
|
# a setting for the name of the collection used to store sessions
|
||||||
MONGOENGINE_SESSION_COLLECTION = getattr(
|
MONGOENGINE_SESSION_COLLECTION = getattr(
|
||||||
settings, 'MONGOENGINE_SESSION_COLLECTION',
|
settings, 'MONGOENGINE_SESSION_COLLECTION',
|
||||||
'django_session')
|
'django_session')
|
||||||
|
|
||||||
|
# a setting for whether session data is stored encoded or not
|
||||||
MONGOENGINE_SESSION_DATA_ENCODE = getattr(
|
MONGOENGINE_SESSION_DATA_ENCODE = getattr(
|
||||||
settings, 'MONGOENGINE_SESSION_DATA_ENCODE',
|
settings, 'MONGOENGINE_SESSION_DATA_ENCODE',
|
||||||
True)
|
True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user