#24161: Using UUIDField for id of custom User model prevents logging in
----------------------------------+-----------------------
     Reporter:  jamesbeith        |      Owner:  nobody
         Type:  Bug               |     Status:  new
    Component:  contrib.sessions  |    Version:  1.8alpha1
     Severity:  Release blocker   |   Keywords:
 Triage Stage:  Unreviewed        |  Has patch:  0
Easy pickings:  0                 |      UI/UX:  0
----------------------------------+-----------------------
 When using the new `UUIDField` in Django 1.8 for the `id` of a custom User
 model, a session fails to be created and a `TypeError` exception is thrown
 when attempting to log in.

 {{{
 TypeError at /login/
 UUID('314cb5d6-593f-48f5-b1af-fadedde123d3') is not JSON serializable
 }}}

 Please see the `README.md` file of the attached example project.

--
Ticket URL: <https://code.djangoproject.com/ticket/24161>
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/053.6016d573b784255a3986ddd61948eeec%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to