Re: ModelChoiceField and dynamic Querysets

2008-09-05 Thread mwebs
This solved the problem: http://groups.google.com/group/django-users/browse_thread/thread/63c2058c7892f865 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

ModelChoiceField and dynamic Querysets

2008-09-05 Thread mwebs
With the ModelChoiceFiled you can represent relationships between models. So my form looks something like this: class MyForm(forms.Form): name = forms.CharField() trials = forms.ModelChoiceField(...) According to the documentation I have to pass the queryset to the modelchoicefield. But