[Django] #36928: django admin log model is missing makemigrations in 6.0 and 6.1 (dev)

0 views
Skip to first unread message

Django

unread,
Feb 14, 2026, 4:33:43 PM (8 hours ago) Feb 14
to django-...@googlegroups.com
#36928: django admin log model is missing makemigrations in 6.0 and 6.1 (dev)
-------------------------+-----------------------------------------
Reporter: devnull | Type: Bug
Status: new | Component: contrib.admin
Version: 6.0 | 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
-------------------------+-----------------------------------------
Hey,

I've noticed that the django admin log model is missing the makemigrations
because it still uses a AutoField instead of the BigAutoField introduced
in Django 6.0: https://docs.djangoproject.com/en/6.0/ref/settings
/#default-auto-field. I've checked branch stable/6.0.x and main.

Is there a way to create the migration myself as a temporary workaround?

BR
--
Ticket URL: <https://code.djangoproject.com/ticket/36928>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 14, 2026, 4:40:26 PM (8 hours ago) Feb 14
to django-...@googlegroups.com
#36928: django admin log model is missing makemigrations in 6.0 and 6.1 (dev)
-------------------------------+--------------------------------------
Reporter: devnull | Owner: (none)
Type: Bug | Status: new
Component: contrib.admin | Version: 6.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by devnull):

The apps.py shows this is on purpose:
https://github.com/django/django/blob/main/django/contrib/admin/apps.py#L10
but the commit adding this line is from 2020:
https://github.com/django/django/commit/b5e12d490af3debca8c55ab3c1698189fdedbbdb.
--
Ticket URL: <https://code.djangoproject.com/ticket/36928#comment:1>

Django

unread,
Feb 14, 2026, 8:02:15 PM (5 hours ago) Feb 14
to django-...@googlegroups.com
#36928: django admin log model is missing makemigrations in 6.0 and 6.1 (dev)
-------------------------------+--------------------------------------
Reporter: devnull | Owner: (none)
Type: Bug | Status: closed
Component: contrib.admin | Version: 6.0
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 Tim Graham):

* resolution: => invalid
* status: new => closed

Comment:

It's only the global setting `DEFAULT_AUTO_FIELD` that changed to
`BigAutoField` in Django 6.0. As you noted, the admin still uses
`AutoField` as specified in its `AppConfig`.
--
Ticket URL: <https://code.djangoproject.com/ticket/36928#comment:2>
Reply all
Reply to author
Forward
0 new messages