Skip to content

Fixed ModelChoiceIterator length #798

Closed
wants to merge 1 commit into from

2 participants

@vanschelven

No description provided.

@claudep
Django member
claudep commented Feb 23, 2013

Thanks for the pull request, but your implementation is wrong as the function will always return 0 when self.field.empty_label is None, because parentheses are missing (I realized that because of a failing test elsewhere in the suite). I will update it and commit soon.

@claudep claudep closed this Feb 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.