#29869: UUIDField to_python should convert int values
-----------------------------------------+------------------------
               Reporter:  thenewguy      |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Uncategorized  |        Version:  2.1
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 It would be handy if UUIDField.to_python() could handle integer values.
 This has practical application when using generic foreign keys in a
 project that mixes auto fields and uuid primary keys.  The generic id
 field could be set to a BigIntegerField and then could point to uuid or
 integer primary keys

 
https://github.com/django/django/blob/master/django/db/models/fields/__init__.py#L2320

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

Reply via email to