mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +00: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
|
:class:`~django.db.models.Field` class. Django uses the field class types to
|
||||||
determine a few things:
|
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
|
* The default HTML :doc:`widget </ref/forms/widgets>` to use when rendering a form
|
||||||
field (e.g. ``<input type="text">``, ``<select>``).
|
field (e.g. ``<input type="text">``, ``<select>``).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user