summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-05-02 01:59:39 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-05-02 01:59:39 +0000
commit75824ba82d1db864cd598e6d9388101ec113a1ef (patch)
treecbda39eb019f1dcb39c62d8259360e3968a5cf30 /docs
parent95cad003928df7131d0ba293944ad3464c466c14 (diff)
Fixed more ReST errors in docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/cache.txt2
-rw-r--r--docs/model-api.txt2
-rw-r--r--docs/templates.txt4
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/cache.txt b/docs/cache.txt
index 4fecdc6372..12bd811284 100644
--- a/docs/cache.txt
+++ b/docs/cache.txt
@@ -18,7 +18,7 @@ That's where caching comes in.
To cache something is to save the result of an expensive calculation so that
you don't have to perform the calculation next time. Here's some pseudocode
-explaining how this would work for a dynamically generated Web page:
+explaining how this would work for a dynamically generated Web page::
given a URL, try finding that page in the cache
if the page is in the cache:
diff --git a/docs/model-api.txt b/docs/model-api.txt
index 44253f301b..de3fe10598 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -97,7 +97,7 @@ Django places only two restrictions on model field names:
These limitations can be worked around, though, because your field name doesn't
necessarily have to match your database column name. See `db_column`_ below.
-SQL reserved words, such as ``join``, ``where`` or ``select`, *are* allowed as
+SQL reserved words, such as ``join``, ``where`` or ``select``, *are* allowed as
model field names, because Django escapes all database table names and column
names in every underlying SQL query. It uses the quoting syntax of your
particular database engine.
diff --git a/docs/templates.txt b/docs/templates.txt
index 6cc99e93e3..8d5a383b8c 100644
--- a/docs/templates.txt
+++ b/docs/templates.txt
@@ -894,12 +894,12 @@ Returns a boolean of whether the value's length is the argument.
linebreaks
~~~~~~~~~~
-Converts newlines into ``<p>`` and ``<br />``s.
+Converts newlines into ``<p>`` and ``<br />`` tags.
linebreaksbr
~~~~~~~~~~~~
-Converts newlines into ``<br />``s.
+Converts newlines into ``<br />`` tags.
linenumbers
~~~~~~~~~~~