From 75824ba82d1db864cd598e6d9388101ec113a1ef Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 2 May 2006 01:59:39 +0000 Subject: [PATCH] Fixed more ReST errors in docs git-svn-id: http://code.djangoproject.com/svn/django/trunk@2812 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/cache.txt | 2 +- docs/model-api.txt | 2 +- docs/templates.txt | 4 ++-- 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 ``

`` and ``
``s. +Converts newlines into ``

`` and ``
`` tags. linebreaksbr ~~~~~~~~~~~~ -Converts newlines into ``
``s. +Converts newlines into ``
`` tags. linenumbers ~~~~~~~~~~~