Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Small improvements to docs/topics/db/models.txt

  • Loading branch information...
commit 695bc0d191c126a948a7cf3acc3e37d9377ebd20 1 parent 4b0f8d2
Siecje authored October 10, 2013 timgraham committed October 10, 2013

Showing 1 changed file with 6 additions and 6 deletions. Show diff stats Hide diff stats

  1. 12  docs/topics/db/models.txt
12  docs/topics/db/models.txt
@@ -4,9 +4,9 @@ Models
4 4
 
5 5
 .. module:: django.db.models
6 6
 
7  
-A model is the single, definitive source of data about your data. It contains
8  
-the essential fields and behaviors of the data you're storing. Generally, each
9  
-model maps to a single database table.
  7
+A model is the single, definitive source of information about your data. It
  8
+contains the essential fields and behaviors of the data you're storing.
  9
+Generally, each model maps to a single database table.
10 10
 
11 11
 The basics:
12 12
 
@@ -48,7 +48,7 @@ Some technical notes:
48 48
 
49 49
 * The name of the table, ``myapp_person``, is automatically derived from
50 50
   some model metadata but can be overridden. See :ref:`table-names` for more
51  
-  details..
  51
+  details.
52 52
 
53 53
 * An ``id`` field is added automatically, but this behavior can be
54 54
   overridden. See :ref:`automatic-primary-key-fields`.
@@ -113,7 +113,7 @@ determine a few things:
113 113
 
114 114
 * The database column type (e.g. ``INTEGER``, ``VARCHAR``).
115 115
 
116  
-* The default :doc:`widget </ref/forms/widgets>` to use when rendering a form
  116
+* The default HTML :doc:`widget </ref/forms/widgets>` to use when rendering a form
117 117
   field (e.g. ``<input type="text">``, ``<select>``).
118 118
 
119 119
 * The minimal validation requirements, used in Django's admin and in
@@ -237,7 +237,7 @@ sees you've explicitly set :attr:`Field.primary_key`, it won't add the automatic
237 237
 ``id`` column.
238 238
 
239 239
 Each model requires exactly one field to have :attr:`primary_key=True
240  
-<Field.primary_key>`.
  240
+<Field.primary_key>` (either explicitly declared or automatically added).
241 241
 
242 242
 .. _verbose-field-names:
243 243
 

0 notes on commit 695bc0d

Please sign in to comment.
Something went wrong with that request. Please try again.