1 | | Good catch. Your new traceback actually shows a different error (`IndexError: list index out of range`) that happens if the iterable is empty, which is fine on 1.6. I've commented on the first ticket. https://code.djangoproject.com/ticket/23112#comment:16 |
| 1 | Good catch. Your new traceback actually shows a different error (`IndexError: list index out of range`) that happens if the iterable is empty, which is fine on 1.6. |
| 2 | {{{ |
| 3 | field = models.CharField(choices=(x for x in []), blank=True, max_length=1) |
| 4 | }}} |
| 5 | I've commented on the first ticket. https://code.djangoproject.com/ticket/23112#comment:16 |