04-Django Basic

Models in Django

Django Models

  • A Django model is the built-in feature that Django uses to create tables, their fields, and various constraints.
  • Each model class maps to a single table in the database.
  • Django Model is a subclass of django.db.models.Model and each field of the model class represents a database field (column).
[Read More]