added comments
This commit is contained in:
parent
b10d76cf4b
commit
4fe87b40da
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue