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
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
2 matches
Mail list logo