#34153: Set uuidField as DEFAULT_AUTO_FIELD
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  alireza0sfr
  alireza0sfr                        |
                   Type:  New        |         Status:  assigned
  feature                            |
              Component:  Database   |        Version:  4.1
  layer (models, ORM)                |       Keywords:  uuidField, models,
               Severity:  Normal     |  autoField
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Hey there,
 As you can set BigAutoField and SmallAutoField as the DEFAULT_AUTO_FIELD
 per app or per project but there is no autoField to generate uuid
 and you have to set uuid ids per model, I think this would lead to
 conflicts between ids type in models,
 and all models should follow the same pattern to create ids therefore it
 would be wise to have uuidField as DEFAULT_AUTO_FIELD.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34153>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701846c0deac7-5adf1381-feb0-4859-a7fe-f4a32bea012b-000000%40eu-central-1.amazonses.com.

Reply via email to