#27297: Non-deterministic infinite AlterField migrations created for foreign key
--------------------------------+------------------------------------
Reporter: Daniel Musketa | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+------------------------------------
Comment (by Baptiste Mispelon):
I think the issue might be caused by the `name='model1',` in the initial
migration.
When I generate the migrations, I get `name='Model1',` (notice the
difference in the capitalization of the model).
How did you generate the initial migration?
I noticed that if I start with `class model1(models.Model): ...`, create
the initial migration, change to `class Model1(models.Model): ...`, then
`makemigrations` won't detect any changes. Is it possible you changed the
name of `Model1` in the same way?
--
Ticket URL: <https://code.djangoproject.com/ticket/27297#comment:3>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/061.1eb6e92d549047c723e894b403a27fbc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.