Fixed more ReST errors in docs

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-05-02 01:59:39 +00:00
parent 95cad00392
commit 75824ba82d
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ That's where caching comes in.
To cache something is to save the result of an expensive calculation so that 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 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 given a URL, try finding that page in the cache
if the page is in the cache: if the page is in the cache:

View File

@ -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 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. 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 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 names in every underlying SQL query. It uses the quoting syntax of your
particular database engine. particular database engine.

View File

@ -894,12 +894,12 @@ Returns a boolean of whether the value's length is the argument.
linebreaks linebreaks
~~~~~~~~~~ ~~~~~~~~~~
Converts newlines into ``<p>`` and ``<br />``s. Converts newlines into ``<p>`` and ``<br />`` tags.
linebreaksbr linebreaksbr
~~~~~~~~~~~~ ~~~~~~~~~~~~
Converts newlines into ``<br />``s. Converts newlines into ``<br />`` tags.
linenumbers linenumbers
~~~~~~~~~~~ ~~~~~~~~~~~