#34382: DEFAULT_AUTO_FIELD ignored for new models
-------------------------------------+-------------------------------------
     Reporter:  Alberto Donato       |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  closed
    Component:  Database layer       |                  Version:  3.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => invalid
 * component:  Uncategorized => Database layer (models, ORM)


Comment:

 Thanks for this report, however it works for me. You can check
 `AppConfig.default_auto_field` in your apps, it's probably set to
 `BigAutoField`, see
 [https://docs.djangoproject.com/en/stable/topics/db/models/#automatic-
 primary-key-fields "Automatic primary key fields"] for more details.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34382#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 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/01070186a711ba6e-d1398cbd-5fd2-48b8-8d72-4861c0dcbb9c-000000%40eu-central-1.amazonses.com.

Reply via email to