Skip to content

Glossary: Django Basics

commit=False

Also written: save(commit=False)

An option for `form.save()` that builds the object from the form without writing it to the database. You can set extra fields, such as the customer, then call `save()` yourself.

Where the book teaches it

Related terms

ModelFormform.save()