Opened 4 years ago

Closed 33 hours ago

Last modified 33 hours ago

#18348 closed New feature (fixed)

Make parts of the sessions API public

Reported by: aaugustin Owned by: vpnosum
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 vpnosum)

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 4 years ago by aaugustin

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

comment:2 Changed 4 years ago by aaugustin

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

comment:3 Changed 3 years ago by aaugustin

  • Triage Stage changed from Design decision needed to Accepted

comment:4 Changed 3 years ago by timo

  • Component changed from contrib.sessions to Documentation

comment:5 Changed 2 days ago by vpnosum

  • Cc vpnosum@… added
  • Description modified (diff)
  • Has patch set
  • Owner changed from nobody to vpnosum
  • Status changed from new to assigned

comment:6 Changed 33 hours ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 32cf01c1:

Fixed #18348 -- Documented SesssionStore.create()

comment:7 Changed 33 hours ago by Tim Graham <timograham@…>

In b4fa102:

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

Backport of 32cf01c1c1dcd5fa5d700d0e5117778caf947b74 from master

comment:8 Changed 33 hours 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