[Django] #18348: Make parts of the sessions API public

19 views
Skip to first unread message

Django

unread,
May 19, 2012, 5:25:41 AM5/19/12
to django-...@googlegroups.com
#18348: Make parts of the sessions API public
--------------------------------------------------+------------------------
Reporter: aaugustin | Owner: nobody
Type: New feature | Status: new
Component: contrib.sessions | Version: master
Severity: Normal | Keywords:
Triage Stage: Design decision needed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------------------+------------------------
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

--
Ticket URL: <https://code.djangoproject.com/ticket/18348>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 19, 2012, 11:31:45 AM5/19/12
to django-...@googlegroups.com
#18348: Make parts of the sessions API public
-------------------------------------+-------------------------------------
Reporter: aaugustin | Owner: nobody
Type: New feature | Status: new
Component: contrib.sessions | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Design
Has patch: 0 | decision needed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by aaugustin):

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

--
Ticket URL: <https://code.djangoproject.com/ticket/18348#comment:1>

Django

unread,
Oct 27, 2012, 5:54:10 PM10/27/12
to django-...@googlegroups.com
#18348: Make parts of the sessions API public
-------------------------------------+-------------------------------------

Reporter: aaugustin | Owner: nobody
Type: New feature | Status: new
Component: contrib.sessions | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Design
Has patch: 0 | decision needed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by aaugustin):

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

--
Ticket URL: <https://code.djangoproject.com/ticket/18348#comment:2>

Django

unread,
Mar 23, 2013, 9:13:15 AM3/23/13
to django-...@googlegroups.com
#18348: Make parts of the sessions API public
----------------------------------+------------------------------------

Reporter: aaugustin | Owner: nobody
Type: New feature | Status: new
Component: contrib.sessions | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+------------------------------------
Changes (by aaugustin):

* stage: Design decision needed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/18348#comment:3>

Django

unread,
Jul 17, 2013, 12:24:05 PM7/17/13
to django-...@googlegroups.com
#18348: Make parts of the sessions API public
-------------------------------+------------------------------------

Reporter: aaugustin | Owner: nobody
Type: New feature | Status: new
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by timo):

* component: contrib.sessions => Documentation


--
Ticket URL: <https://code.djangoproject.com/ticket/18348#comment:4>

Django

unread,
Jul 21, 2016, 2:13:42 PM7/21/16
to django-...@googlegroups.com
#18348: Make parts of the sessions API public
-------------------------------+------------------------------------
Reporter: aaugustin | Owner: vpnosum
Type: New feature | Status: assigned

Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by vpnosum):

* cc: vpnosum@… (added)
* owner: nobody => vpnosum
* has_patch: 0 => 1
* status: new => assigned


Old 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

New 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


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

--

--
Ticket URL: <https://code.djangoproject.com/ticket/18348#comment:5>

Django

unread,
Jul 22, 2016, 5:17:30 PM7/22/16
to django-...@googlegroups.com
#18348: Make parts of the sessions API public
-------------------------------+------------------------------------
Reporter: aaugustin | Owner: vpnosum
Type: New feature | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"32cf01c1c1dcd5fa5d700d0e5117778caf947b74" 32cf01c1]:
{{{
#!CommitTicketReference repository=""
revision="32cf01c1c1dcd5fa5d700d0e5117778caf947b74"
Fixed #18348 -- Documented SesssionStore.create()
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/18348#comment:6>

Django

unread,
Jul 22, 2016, 5:19:34 PM7/22/16
to django-...@googlegroups.com
#18348: Make parts of the sessions API public
-------------------------------+------------------------------------
Reporter: aaugustin | Owner: vpnosum
Type: New feature | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"b4fa102503076e62db13f76bbee4a3c880926676" b4fa102]:
{{{
#!CommitTicketReference repository=""
revision="b4fa102503076e62db13f76bbee4a3c880926676"
[1.10.x] Fixed #18348 -- Documented SesssionStore.create()

Backport of 32cf01c1c1dcd5fa5d700d0e5117778caf947b74 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/18348#comment:7>

Django

unread,
Jul 22, 2016, 5:19:34 PM7/22/16
to django-...@googlegroups.com
#18348: Make parts of the sessions API public
-------------------------------+------------------------------------
Reporter: aaugustin | Owner: vpnosum
Type: New feature | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"b0b0a02af53a36776435133480334dc52df0301f" b0b0a02]:
{{{
#!CommitTicketReference repository=""
revision="b0b0a02af53a36776435133480334dc52df0301f"
[1.9.x] Fixed #18348 -- Documented SesssionStore.create()

Backport of 32cf01c1c1dcd5fa5d700d0e5117778caf947b74 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/18348#comment:8>

Reply all
Reply to author
Forward
0 new messages