The question is very similar to this question, but I wanted to ask it differently.
I am a very tuned guy, but sometimes I like to make shortcuts. So there it is.
I find these two classes very similar, although one “helps” the programmer write code faster or have less code / repeating code. Connecting models to forms sounds like an obvious thing. One thing that is not particularly clear in documents using ModelForm. What happens if you need to add additional fields that are not in the Model or are somehow related to another model?
I think you could subclass this and make it work, but will it really save you time than just doing it with a form?
So, the following question may not have a definite answer if I subclass it and use ModelForm. Is ModelForm especially faster than Form? Does he use the same update methods or bind much faster in one or the other?
source
share