Changes between Version 1 and Version 2 of Ticket #23119, comment 5


Ignore:
Timestamp:
Jul 29, 2014, 1:44:05 PM (10 years ago)
Author:
Collin Anderson

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.
     1Good 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.
    22{{{
    33field = models.CharField(choices=(x for x in []), blank=True, max_length=1)
Back to Top