Code

Opened 2 years ago

Last modified 12 months ago

#18348 new New feature

Make parts of the sessions API public

Reported by: aaugustin Owned by: nobody
Component: Documentation Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

Attachments (0)

Change History (4)

comment:1 Changed 2 years ago by aaugustin

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

comment:2 Changed 21 months ago by aaugustin

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

comment:3 Changed 16 months ago by aaugustin

  • Triage Stage changed from Design decision needed to Accepted

comment:4 Changed 12 months ago by timo

  • Component changed from contrib.sessions to Documentation

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new
The owner will be changed from nobody to anonymous. Next status will be 'assigned'
as The resolution will be set. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.