class Field [source]
Field is an abstract class that represents a database table column. Django uses fields to create the database table (db_type()), to map Python types to database (get_prep_value()) and vice-versa (from_db_value()).
A field is thus a fundamental piece in different Django APIs, notably, models and querysets.
In models, a field is instantiated as a class attribute and represents a particular table column, see Models. It has attributes such as null and unique, and methods tha