4 ms·
Alternative is to use the modelform but not save the created/updated model automatically. Then you modify the resulting model object and save it manually as nee
by senko 10y ago
Alternative is to use the modelform but not save the created/updated model automatically. Then you modify the resulting model object and save it manually as needed.
Works also with models with m2m fields with Form.save_m2m().
- chubuntu 10y agoThank you