http://code.djangoproject.com/wiki/CookBookNewFormsFieldOrdering
On May 21, 2008, at 8:15 AM, omat wrote:
[...]
> My form class is like that:
>
> class NoteForm(forms.ModelForm):
>is_location = forms.BooleanField(required=False)
>
>class Meta:
>model = Note
>
> I wish this checkbo
I would like to add an extra checkbox to my form which I generate with
ModelForm. This is for visual enhancement of the form. If the extra
checkbox is checked, I will display a map for user to mark his
location.
My form class is like that:
class NoteForm(forms.ModelForm):
is_location = forms
2 matches
Mail list logo