#24483: keepdb migrations break choices as generators
-------------------------------------+-------------------------------------
Reporter: davidszotten | Owner:
| davidszotten
Type: Bug | Status: assigned
Component: Migrations | Version: 1.8beta2
Severity: Normal | Resolution:
Keywords: migrations test | Triage Stage:
keepdb | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by davidszotten):
not sure what you mean by "Does this even work on a live website?" I have
a generator providing choices in an app i've had in production for a good
few years now (though probably using a generator mostly by accident). I
noticed this issue a few days ago as i was trying out the new 1.8 beta and
`--keepdb` to speed up my test suite.
the patch updates code that was definitely put in place to support generic
iterators, and as you point out, the docs also talk about iterables.
not sure of the correct protocol, so the pr is raised against 1.8.x, not
master (i might be going crazy, but every other time i look i can't find
the pr listed on the ticket, so here's a direct link:
https://github.com/django/django/pull/4326 )
--
Ticket URL: <https://code.djangoproject.com/ticket/24483#comment:4>
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/070.16710d30aaa68a10bc20db12b526b70d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.