Opened 12 years ago

Closed 8 years ago

Last modified 8 years ago

#18348 closed New feature (fixed)

Make parts of the sessions API public

Reported by: Aymeric Augustin Owned by: Preetham Nosum
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: vpnosum@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Preetham Nosum)

Many developers attempt to use session.session_key. Documenting it would help them use it correctly.

Related thread: https://groups.google.com/group/django-developers/browse_thread/thread/d78e268f8b15fd9d

Updated documentation, pull request here: https://github.com/django/django/pull/6952

Change History (8)

comment:1 by Aymeric Augustin, 12 years ago

We should probably include create() and save() in the public API. See #18344.

comment:2 by Aymeric Augustin, 11 years ago

#19147 is another example of a developer attempting to access session_key before saving the session.

comment:3 by Aymeric Augustin, 11 years ago

Triage Stage: Design decision neededAccepted

comment:4 by Tim Graham, 11 years ago

Component: contrib.sessionsDocumentation

comment:5 by Preetham Nosum, 8 years ago

Cc: vpnosum@… added
Description: modified (diff)
Has patch: set
Owner: changed from nobody to Preetham Nosum
Status: newassigned

comment:6 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In 32cf01c1:

Fixed #18348 -- Documented SesssionStore.create()

comment:7 by Tim Graham <timograham@…>, 8 years ago

In b4fa102:

[1.10.x] Fixed #18348 -- Documented SesssionStore.create()

Backport of 32cf01c1c1dcd5fa5d700d0e5117778caf947b74 from master

comment:8 by Tim Graham <timograham@…>, 8 years ago

In b0b0a02:

[1.9.x] Fixed #18348 -- Documented SesssionStore.create()

Backport of 32cf01c1c1dcd5fa5d700d0e5117778caf947b74 from master

Note: See TracTickets for help on using tickets.
Back to Top