Writing model classes
Each model in your project represents a table within your database. The fields that are created in those models all relate to columns within that table. Django provides a technique called Object-Relational Mapping (ORM) to map models to the underlying database(s) that are configured in the settings.py
file of a project. The ORM technique is a process used to convert data between two systems of incompatible data types. This means that Django takes the headache out of working directly with Structured Query Language (SQL) to perform queries. The Django ORM irons out odd differences between the various database types when interpreting SQL, making it a universal tool for working with all data structures. Now, you and your developers can focus more on developing and less on the headaches involved. Django does not require the use of SQL as a standard writing practice. However, if you want or need to, Django does provide a way to use basic SQL when performing query operations...