The typical way for Django applications to interact with data is through Django models. A Django model is an object-oriented Python class that represents the characteristics of an entity. For example, an entity can be a person, a company, a product, or some other concept used by an application.
Because data is at the center of modern applications and the Django framework enforces the DRY (Don’t Repeat Yourself) principle , Django models often serve as the building blocks for Django projects. Once you have a set of Django models representing an application’s entities, Django models ...