Opened 5 years ago

Closed 5 months ago

Last modified 5 months ago

#18348 closed New feature (fixed)

Make parts of the sessions API public

Reported by: Aymeric Augustin Owned by: Preetham Nosum
Component: Documentation Version: master
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 Changed 5 years ago by Aymeric Augustin

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

comment:2 Changed 4 years ago by Aymeric Augustin

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

comment:3 Changed 4 years ago by Aymeric Augustin

Triage Stage: Design decision neededAccepted

comment:4 Changed 3 years ago by Tim Graham

Component: contrib.sessionsDocumentation

comment:5 Changed 5 months ago by Preetham Nosum

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

comment:6 Changed 5 months ago by Tim Graham <timograham@…>

Resolution: fixed
Status: assignedclosed

In 32cf01c1:

Fixed #18348 -- Documented SesssionStore.create()

comment:7 Changed 5 months ago by Tim Graham <timograham@…>

In b4fa102:

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

Backport of 32cf01c1c1dcd5fa5d700d0e5117778caf947b74 from master

comment:8 Changed 5 months ago by Tim Graham <timograham@…>

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