[Django] #35879: Missing Migration auth 5.1.2

6 views
Skip to first unread message

Django

unread,
Oct 31, 2024, 11:02:10 AM10/31/24
to django-...@googlegroups.com
#35879: Missing Migration auth 5.1.2
-------------------------+--------------------------------------
Reporter: peter@… | Type: Bug
Status: new | Component: Migrations
Version: 5.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
-------------------------+--------------------------------------
When running `python manage.py migrate` I see the following:

```
Your models in app(s): 'auth' have changes that are not yet reflected in
a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run
'manage.py migrate' to apply them.
```

When I make migrations the following is generated:
`/usr/local/lib/python3.12/site-
packages/django/contrib/auth/migrations/0013_alter_user_managers.py`

Looking at tag for 5.1.2 that migration is indeed missing.

https://github.com/django/django/tree/8864125d1f423ee94c2bb1cc36ea998619d47c3f/django/contrib/auth/migrations
last migration = 0012
--
Ticket URL: <https://code.djangoproject.com/ticket/35879>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 31, 2024, 11:11:55 PM10/31/24
to django-...@googlegroups.com
#35879: Missing Migration auth 5.1.2
------------------------------+--------------------------------------
Reporter: Peter Kahn | Owner: (none)
Type: Bug | Status: closed
Component: contrib.auth | Version: 5.1
Severity: Normal | Resolution: worksforme
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):

* component: Migrations => contrib.auth
* resolution: => worksforme
* status: new => closed

Comment:

I can't reproduce it, so it'd say it's probably an issue in your project.
What's the operation in the migration?
--
Ticket URL: <https://code.djangoproject.com/ticket/35879#comment:1>

Django

unread,
Nov 1, 2024, 7:03:56 AM11/1/24
to django-...@googlegroups.com
#35879: Missing Migration auth 5.1.2
------------------------------+--------------------------------------
Reporter: Peter Kahn | Owner: (none)
Type: Bug | Status: closed
Component: contrib.auth | Version: 5.1
Severity: Normal | Resolution: worksforme
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 Peter Kahn):

Tim,

Ah, thanks and sorry I didn't think to check that it was us and 100% it
is. There's mention of a swirl-model. So, we've got work to do. Sorry
for the noise.

Peter
--
Ticket URL: <https://code.djangoproject.com/ticket/35879#comment:2>
Reply all
Reply to author
Forward
0 new messages