Re:Learn web development: Django Web Framework
by senko on Friday February 10, 2017 @06:07AM
(#13614567)
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().
Works also with models with m2m fields with Form.save_m2m().