#19449: Add user id to sessions table
-------------------------------------+-------------------------------------
     Reporter:  Nate Dudenhoeffer    |                    Owner:  nobody
  <ndudenhoeffer@…>                  |                   Status:  closed
         Type:  New feature          |                  Version:  1.4
    Component:  contrib.sessions     |               Resolution:  wontfix
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * status:  new => closed
 * needs_docs:   => 0
 * resolution:   => wontfix
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Comment:

 Unsurprisingly, the accepted answer at SO in wrong is many ways, while the
 correct answer written by a Django core developer lingers in second
 position.

 If you want to store the user id alongside the session key in a database
 table, use the extensibility mechanism provided by Django for such cases:
 pluggable sessions backends.

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to