Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed more ReST errors in docs

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 75824ba82d1db864cd598e6d9388101ec113a1ef 1 parent 95cad00
@adrianholovaty adrianholovaty authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  docs/cache.txt
  2. +1 −1  docs/model-api.txt
  3. +2 −2 docs/templates.txt
View
2  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:
View
2  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.
View
4 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
~~~~~~~~~~~
Please sign in to comment.
Something went wrong with that request. Please try again.