The following project demonstrates using Django models to store and retrieve information from a database. We also take a look at forms and how your models can be used within these forms. This project is based off the SimpleORM article
The following links provide additional resources/tools to assist in the development of Django models.
Note: This project assume that an SQLite database is being used (including the tools listed below) however these same patterns should work with other databases including PostgreSQL.
- SQLite UI Browser
- SQLite CLI Tools (Download the sqlite-tools-win32-x86 package for Windows)
- Django Models Documentation
- Django Model types and fields API documentation