Changes between Version 1 and Version 2 of Ticket #23119, comment 5
- Timestamp:
- Jul 29, 2014, 1:44:05 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23119, comment 5
v1 v2 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.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 was fine on 1.6. 2 2 {{{ 3 3 field = models.CharField(choices=(x for x in []), blank=True, max_length=1)