Is there any possibiltiy to define 开发者_运维知识库the fields in model dynamically during execution of the program.
Short answer no. Long answer you can register new model dynamically or add generic fields like property1..10 and use them dynamically, but this is ugly hack.
精彩评论