Whether there is a get_model-like method in Django that can instantiate Form based on keywords.

I would like to ask you if there is a get_model-like method in Django that can instantiate Form based on keywords.
does not seem to have such a method as get_form, or can you only write it yourself?

Oct.08,2021

django admin change_form seems to fulfill this requirement of yours.
generate various forms dynamically according to the corresponding model, right?

Menu