sessions.backends.db.SessionStore.create_model_instance()

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.