sessions.backends.db.SessionStore

class backends.db.SessionStore

Implements database-backed session store.

classmethod get_model_class()
New in Django 1.9.

Override this method to return a custom session model if you need one.

create_model_instance(data)
New in Django 1.9.

Returns a new instance of the session model object, which represents the current session state.

Overriding this method provides the ability to modify session model data before it’s saved to database.

doc_Django
2016-10-09 18:39:31
Comments
Leave a Comment

Please login to continue.