Take a peek at the Django forms documentation, specifically the
ModelChoiceField and ModelMultipleChoiceField, the docs are at:
http://docs.djangoproject.com/en/dev/ref/forms/fields/
These fields allow you to specify a queryset to populate your form
select fields, this queryset can be the list of
Hi guys, i have a problem with ModelForm, the problem is that in the
user private area there is a Form (ModelForm), but in this Form i have
a Select, this select show the parent articles , so the problem is
that the Select show all parent articles, from all users
How ill just show the parent
2 matches
Mail list logo