#24161: Using UUIDField for id of custom User model prevents logging in
-------------------------------------+-------------------------------------
Reporter: jamesbeith | Owner: nobody
Type: Bug | Status: closed
Component: contrib.sessions | Version: 1.8alpha1
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
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:"596564e808089f1263469dbf4744dcaa05b79222"]:
{{{
#!CommitTicketReference repository=""
revision="596564e808089f1263469dbf4744dcaa05b79222"
[1.8.x] Fixed #24161 -- Stored the user primary key as a serialized value
in the session.
This allows using a UUIDField primary key along with the JSON session
serializer.
Thanks to Trac alias jamesbeith for the report and Simon Charette
for the initial patch.
Backport of 0f7f5bc9e7a94ab91c2b3db29ef7cf000eff593f from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24161#comment:8>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.e9624d9a71bc4c73dd00c63a08ef428e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.