> baseForm = forms.form_for_model( MyModel )
> class Form ( baseForm ):
> extra_field = forms.CharField()
>
> I'd like to have the fields defined in MyModel and add the
> extra_field, but it doesn't work.
> Besides, I'd like to have a clear example about how to use the forms
> with files (File
Hello, it seems that when I create this code, doesn't work as
expected.
baseForm = forms.form_for_model( MyModel )
class Form ( baseForm ):
extra_field = forms.CharField()
I'd like to have the fields defined in MyModel and add the
extra_field, but it doesn't work.
Besides, I'd like to have a
2 matches
Mail list logo