Skip to content

Fixed ModelChoiceIterator length #798

wants to merge 1 commit into from

2 participants


No description provided.

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.