Lessons:11Length:1 hour

2.1 Creating the Invoice Model

Most Django apps are based on a model, and this application is no different. We will start by creating a simple invoice model class that you will be able to extend to your own desire. We will also spend a little time refreshing our memory of how to work with creating and persisting an instance of our model in a SQLite database using the Python shell.