﻿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
21155	Changing queryset of Model formsets in __init__ doesn't work	yofee	nobody	"In the [https://docs.djangoproject.com/en/1.5/topics/forms/modelforms/#changing-the-queryset documentation] it says you could change the queryset of a Model formset by setting it in the `__init__` method:
{{{
class BaseAuthorFormSet(BaseModelFormSet):
    def __init__(self, *args, **kwargs):
        super(BaseAuthorFormSet, self).__init__(*args, **kwargs)
        self.queryset = Author.objects.filter(name__startswith='O')
}}}
But in Django 1.5 it doesn't work. It was fixed in some former versions : #17478 (Django 1.3) and #11735 (Django 1.1)"	Bug	closed	Documentation	1.5	Normal	duplicate	ModelFormSet, queryset		Unreviewed	0	0	0	0	0	0
