Opened 3 weeks ago

Closed 3 weeks ago

#36928 closed Bug (invalid)

django admin log model is missing makemigrations in 6.0 and 6.1 (dev)

Reported by: devnull Owned by:
Component: contrib.admin Version: 6.0
Severity: Normal Keywords:
Cc: devnull Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

Change History (2)

comment:2 by Tim Graham, 3 weeks ago

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
Back to Top