1
0
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:
Zainab Amir 2021-08-24 10:41:24 +05:00 committed by Mariusz Felisiak
parent fa1d7ba5b9
commit 3445c50a3a
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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