Glossary: Django Beyond the Basics
form_valid()
A form view method that runs once the form is valid. In `NewOrder` it sets the customer on the unsaved order, then calls the parent's version to save it.
Glossary: Django Beyond the Basics
A form view method that runs once the form is valid. In `NewOrder` it sets the customer on the unsaved order, then calls the parent's version to save it.