Yes, it can be easily rewritten - you just have to make the contents
of the extend() call an explicit list, rather than a generator
expression:
new_evolutions.extend([Evolution(app_label=app_label, label=label) for
label in evolutions])
(note the extra square brackets)
> Either way, now you know..
For future reference, the best way to let me (and everyone else) know
if you find a problem is to open a ticket in the Evolution ticket
tracker. Emails tend to get lost; tickets are kept in a single
location so they can't be forgotten, and they're easily searched and
referenced.
Yours,
Russ Magee %-)