mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Made sentence about Model consistent in docs.
This commit is contained in:
parent
fa1d7ba5b9
commit
3445c50a3a
@ -122,10 +122,10 @@ additional metadata.
|
||||
|
||||
.. admonition:: Philosophy
|
||||
|
||||
A model is the single, definitive source of truth about your data. It contains
|
||||
the essential fields and behaviors of the data you're storing. Django follows
|
||||
the :ref:`DRY Principle <dry>`. The goal is to define your data model in one
|
||||
place and automatically derive things from it.
|
||||
A model is the single, definitive source of information about your data. It
|
||||
contains the essential fields and behaviors of the data you're storing.
|
||||
Django follows the :ref:`DRY Principle <dry>`. The goal is to define your
|
||||
data model in one place and automatically derive things from it.
|
||||
|
||||
This includes the migrations - unlike in Ruby On Rails, for example, migrations
|
||||
are entirely derived from your models file, and are essentially a
|
||||
|
@ -4,9 +4,9 @@ Models and databases
|
||||
|
||||
.. module:: django.db
|
||||
|
||||
A model is the single, definitive source of data about your data. It contains
|
||||
the essential fields and behaviors of the data you're storing. Generally, each
|
||||
model maps to a single database table.
|
||||
A model is the single, definitive source of information about your data. It
|
||||
contains the essential fields and behaviors of the data you're storing.
|
||||
Generally, each model maps to a single database table.
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
Loading…
Reference in New Issue
Block a user