Skip to content

Commit

Permalink
[3.2.x] Made sentence about Model consistent in docs.
Browse files Browse the repository at this point in the history
Backport of 3445c50 from main
  • Loading branch information
zainab-amir authored and felixxm committed Aug 26, 2021
1 parent 69009f4 commit 11b2cbb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/intro/tutorial02.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/topics/db/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11b2cbb

Please sign in to comment.