mirror of
https://github.com/django/django.git
synced 2024-11-29 14:46:18 +01:00
Clarified "database column type" explanation.
This commit is contained in:
parent
16a88b4429
commit
cf48962b36
@ -111,7 +111,8 @@ Each field in your model should be an instance of the appropriate
|
||||
:class:`~django.db.models.Field` class. Django uses the field class types to
|
||||
determine a few things:
|
||||
|
||||
* The database column type (e.g. ``INTEGER``, ``VARCHAR``).
|
||||
* The column type, which tells the database what kind of data to store (e.g.
|
||||
``INTEGER``, ``VARCHAR``, ``TEXT``).
|
||||
|
||||
* The default HTML :doc:`widget </ref/forms/widgets>` to use when rendering a form
|
||||
field (e.g. ``<input type="text">``, ``<select>``).
|
||||
|
Loading…
Reference in New Issue
Block a user