#35879 closed Bug (worksforme)
Missing Migration auth 5.1.2
Reported by: | Peter Kahn | Owned by: | |
---|---|---|---|
Component: | contrib.auth | Version: | 5.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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
Change History (2)
comment:1 by , 7 weeks ago
Component: | Migrations → contrib.auth |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
comment:2 by , 7 weeks ago
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
I can't reproduce it, so it'd say it's probably an issue in your project. What's the operation in the migration?