Actually, I don't understand.
If you need object creation, ModelForm is the way to go.
You could also take it the other way. Base form should be the one with the smallest field set.
Regards,
Xavier.
> On Apr 20, 12:26 pm, Xavier Ordoquy <xordo...@linovia.com> wrote:
>> Le 20 avr. 2011 à 05:57, Constantine a écrit :
> ...
>> Actually, I don't understand.
>> If you need object creation, ModelForm is the way to go.
> unfortunately ModelForm is not suitable
>> You could also take it the other way. Base form should be the one with the smallest field set.
> You are right, base form has the smallest set.
> But inheritors' field sets highly intersects and i'cant distinguish
> minimum set for base class
I doubt Django devs will include Meta.exclude in Form without a fully described use case.
The general idea is don't include feature unless there's no other way.
In your case, I can't see why you can't use a base form and extend it.
Xavier.
PS:
I'm not a Django core dev.
I just noticed this is on django dev mailing list so don't take my words as official core team answer.