#26384: Django 1.9 regression in migrations due to lazy model operations
refactor
---------------------------------+------------------------------------
Reporter: brian | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 1.9
Severity: Release blocker | 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 timgraham):
I'm attaching a minimal project to reproduce. Add the `rename` app to a
project and run `python manage.py test rename` and you should see
`FieldDoesNotExist: Foo has no field named u'album_id'` (reproducible with
SQLite only). If someone can propose a fix, I don't mind spending more
time trying to write a regression test but as I'm not sure where the fix
lies, I'm not sure at what level to write a test.
--
Ticket URL: <https://code.djangoproject.com/ticket/26384#comment:5>
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/063.6dbebdf24530d0f6aab5257af00f5109%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.