Using a Model Form10:22 with Kenneth Love
Now that we've made a model form, let's see how to display and save them.
Did you notice that
commit=False? That's an amazingly handy tool with Django's model forms that allows us to get an instance of a model back. We can then use that instance to add whatever other information we need to the instance before we finally write it to the database (if we even do!).
Remember this tool because you'll use it pretty often.
You need to sign up for Treehouse in order to download course files.Sign up