我正在使用InlineModels,并且有两种类型的CustomerCompany.type。,我仍然需要在AdminForm上显示CustomerCompany的type字段,因为我不能覆盖InlineModelAdmin的save方法,如下所示: #Following override do not
在MyproductControllerGeneralsetting中,我覆盖了父类中的save方法,以便修改$_POST数据,然后覆盖方法调用父类的save方法来执行实际的保存。下面是MyproductControllerGeneralsetting中被覆盖的方法 * We overwrite the saved form data and trim them