id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 25683 1.8.6 regression: ModelChoiceField no longer accepts Manager objects as queryset Marti Raudsepp nobody "Hi! It seems that the fix for #25496 caused a regression. When one uses `ModelChoiceField(queryset=FooModel.objects)` then it throws: {{{ Traceback (most recent call last): File ""/home/marti/workspace/django/tests/forms_tests/tests/tests.py"", line 93, in test_modelchoicefield_manager self.assertTrue(list(f.choices)) File ""/home/marti/workspace/django/django/forms/models.py"", line 1095, in __iter__ method = 'all' if self.queryset._prefetch_related_lookups else 'iterator' AttributeError: 'Manager' object has no attribute '_prefetch_related_lookups' }}} I have a patch in development to fix this, should be ready soon. " Bug closed Forms 1.8 Release blocker fixed Tim Graham marti@… Accepted 1 0 0 0 0 0