Code

Ticket #5955: doc_fixes.diff

File doc_fixes.diff, 4.3 KB (added by SmileyChris, 6 years ago)
Line 
1Index: tutorial01.txt
2===================================================================
3--- tutorial01.txt      (revision 6674)
4+++ tutorial01.txt      (working copy)
5@@ -47,7 +47,7 @@
6    denied" when you try to run ``django-admin.py startproject``. This
7    is because, on Unix-based systems like OS X, a file must be marked
8    as "executable" before it can be run as a program. To do this, open
9-   Terminal.app and navigate (using the `cd` command) to the directory
10+   Terminal.app and navigate (using the ``cd`` command) to the directory
11    where ``django-admin.py`` is installed, then run the command
12    ``chmod +x django-admin.py``.
13 
14Index: url_dispatch.txt
15===================================================================
16--- url_dispatch.txt    (revision 6674)
17+++ url_dispatch.txt    (working copy)
18@@ -237,7 +237,7 @@
19 -------
20 
21 A function that takes a full Python import path to another URLconf that should
22-be "included" in this place. See _`Including other URLconfs` below.
23+be "included" in this place. See `Including other URLconfs`_ below.
24 
25 Notes on capturing text in URLs
26 ===============================
27Index: release_notes_0.96.txt
28===================================================================
29--- release_notes_0.96.txt      (revision 6674)
30+++ release_notes_0.96.txt      (working copy)
31@@ -44,7 +44,7 @@
32     DATABASE_ENGINE = "mysql_old"
33 
34 However, we strongly encourage MySQL users to upgrade to a more recent
35-version of `MySQLdb` as soon as possible, The "mysql_old" backend is
36+version of ``MySQLdb`` as soon as possible, The "mysql_old" backend is
37 provided only to ease this transition, and is considered deprecated;
38 aside from any necessary security fixes, it will not be actively
39 maintained, and it will be removed in a future release of Django.
40Index: model-api.txt
41===================================================================
42--- model-api.txt       (revision 6674)
43+++ model-api.txt       (working copy)
44@@ -50,7 +50,7 @@
45 Some technical notes:
46 
47     * The name of the table, ``myapp_person``, is automatically derived from
48-      some model metadata but can be overridden. See _`Table names` below.
49+      some model metadata but can be overridden. See `Table names`_ below.
50     * An ``id`` field is added automatically, but this behavior can be
51       overriden. See `Automatic primary key fields`_ below.
52     * The ``CREATE TABLE`` SQL in this example is formatted using PostgreSQL
53@@ -1664,7 +1664,7 @@
54 
55 Adding extra ``Manager`` methods is the preferred way to add "table-level"
56 functionality to your models. (For "row-level" functionality -- i.e., functions
57-that act on a single instance of a model object -- use _`Model methods`, not
58+that act on a single instance of a model object -- use `Model methods`_, not
59 custom ``Manager`` methods.)
60 
61 A custom ``Manager`` method can return anything you want. It doesn't have to
62Index: authentication.txt
63===================================================================
64--- authentication.txt  (revision 6674)
65+++ authentication.txt  (working copy)
66@@ -170,7 +170,7 @@
67 
68       If no password is provided, ``set_unusable_password()`` will be called.
69 
70-      See _`Creating users` for example usage.
71+      See `Creating users`_ for example usage.
72 
73     * ``make_random_password(length=10, allowed_chars='abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789')``
74       Returns a random password with the given length and given string of
75Index: django-admin.txt
76===================================================================
77--- django-admin.txt    (revision 6674)
78+++ django-admin.txt    (working copy)
79@@ -651,7 +651,7 @@
80 that it doesn't matter whether the options come before or after the fixture
81 arguments.)
82 
83-To run on 1.2.3.4:7000 with a `test` fixture::
84+To run on 1.2.3.4:7000 with a ``test`` fixture::
85 
86     django-admin.py testserver --addrport 1.2.3.4:7000 test
87 
88Index: templates_python.txt
89===================================================================
90--- templates_python.txt        (revision 6674)
91+++ templates_python.txt        (working copy)
92@@ -1136,7 +1136,7 @@
93 template that is filled with details from the current object. (In the admin's
94 case, this is the ``submit_row`` tag.)
95 
96-These sorts of tags are called `inclusion tags`.
97+These sorts of tags are called inclusion tags.
98 
99 Writing inclusion tags is probably best demonstrated by example. Let's write a
100 tag that outputs a list of choices for a given ``Poll`` object, such as was