MCPcopy
hub / github.com/django/django / set_session_key

Method set_session_key

tests/sessions_tests/tests.py:372–373  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

370
371 def test_session_key_is_read_only(self):
372 def set_session_key(session):
373 session.session_key = session._get_new_session_key()
374
375 with self.assertRaises(AttributeError):
376 set_session_key(self.session)

Callers

nothing calls this directly

Calls 1

_get_new_session_keyMethod · 0.80

Tested by

no test coverage detected