<s> from django . contrib . sessions . backends . base import SessionBase <EOL> class SessionStore ( SessionBase ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , session_key = None ) : <EOL> super ( SessionStore , self ) . __init__ ( session_key ) <EOL> def exists ( self , session_key ) : <EOL> return False <EOL> def create ( self ) : <EOL> self . session_key = self . encode ( { } ) <EOL> def save ( self , must_create = False ) : <EOL> self . session_key = self . encode ( self . _session ) <EOL> def delete ( self , session_key = None ) : <EOL> self . session_key = self . encode ( { } ) <EOL> def load ( self ) : <EOL> try : <EOL> return self . decode ( self . session_key ) <EOL> except : <EOL> self . modified = True <EOL> return { } </s>
