Title: Theory / Important / CS / Programming / Python / Django / Model
Tags: hasNotNewEffectReturnsMeaning

Meaning: definitive source of information about your data.
Page: https://docs.djangoproject.com/en/dev/topics/db/models/
Language: Python
Implementation: A class, whose field are the database field
Subtype of: django.db.models.Model.
Name: A model
Example: from django.db import models
class Person(models.Model):
first_name = models.CharField(max_length=30)
last_name = models.CharField(max_length=30)

Instruction: A field of the class \(M\)
Page: https://docs.djangoproject.com/en/dev/topics/db/models/
Language: Python
Variables: \(M\) a model
Name: A field of \(M\)

Instruction: from django.db import models
class Person(models.Model):
  first_name = models.CharField(max_length=30)
  last_name = models.CharField(max_length=30)
Page: https://docs.djangoproject.com/en/dev/topics/db/models/
Language: Python
Returns: A class, whose field are the database field
Extra: django.db.models.Model.
Name: A model
Intuition: definitive source of information about your data.

Name: A field of the class \(M\)
Definition: A field of \(M\)
Page: https://docs.djangoproject.com/en/dev/topics/db/models/
Chapter: 1
Section: 1.2
Variables: \(M\) a model
Context: Python
Intuition: Maps to a database column of \(M\)