Re: newforms: How to make a Checkboxed user select list...

2007-07-26 Thread Russell Keith-Magee
On 7/26/07, onno <[EMAIL PROTECTED]> wrote: > > On Jun 26, 9:57 am, Jens Diemer <[EMAIL PROTECTED]> wrote: > > Jens Diemer schrieb: > > > > > I would like to make a newforms user select list, from every existing > > > django > > > users, looks like this: > > ... > This might be added to the docs.

Re: newforms: How to make a Checkboxed user select list...

2007-07-26 Thread onno
On Jun 26, 9:57 am, Jens Diemer <[EMAIL PROTECTED]> wrote: > Jens Diemer schrieb: > > > I would like to make a newforms user select list, from every existing django > > users, looks like this: > > I have found a solution: > > class MailForm(forms.Form): > users = forms.ModelMultipleChoiceFiel

Re: newforms: How to make a Checkboxed user select list...

2007-06-26 Thread Jens Diemer
Jens Diemer schrieb: > I would like to make a newforms user select list, from every existing django > users, looks like this: I have found a solution: class MailForm(forms.Form): users = forms.ModelMultipleChoiceField( queryset=User.objects.all(), widget=forms.CheckboxSel

newforms: How to make a Checkboxed user select list...

2007-06-25 Thread Jens Diemer
I would like to make a newforms user select list, from every existing django users, looks like this: -- username1 - mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]