Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #12205 -- Corrected malformed reference links in the 1.1 and 1.…

…1-alpha release notes, and corrected position of field lookup reference label. Thanks velmont and timo.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 39122c841f0105ea66ad6d39d4cc8025cf5813b3 1 parent 6154d58
Gary Wilson Jr. authored December 26, 2009
4  docs/ref/models/querysets.txt
@@ -1131,8 +1131,6 @@ control the name of the aggregation value that is returned::
1131 1131
 For an in-depth discussion of aggregation, see :ref:`the topic guide on
1132 1132
 Aggregation <topics-db-aggregation>`.
1133 1133
 
1134  
-.. _field-lookups:
1135  
-
1136 1134
 ``exists()``
1137 1135
 ~~~~~~~~~~~~
1138 1136
 
@@ -1147,6 +1145,8 @@ that it will be at some point, then using ``some_query_set.exists()`` will do
1147 1145
 more overall work (an additional query) than simply using
1148 1146
 ``bool(some_query_set)``.
1149 1147
 
  1148
+.. _field-lookups:
  1149
+
1150 1150
 Field lookups
1151 1151
 -------------
1152 1152
 
13  docs/releases/1.1-alpha-1.txt
@@ -85,13 +85,13 @@ Other new features and changes introduced since Django 1.0 include:
85 85
 * The ``include()`` function in Django URLconf modules can now accept sequences
86 86
   of URL patterns (generated by ``patterns()``) in addition to module names.
87 87
 
88  
-* Instances of Django forms (see `the forms overview <topics-forms-index>`_ now
89  
-  have two additional methods, ``hidden_fields()`` and ``visible_fields()``,
  88
+* Instances of Django forms (see :ref:`the forms overview <topics-forms-index>`)
  89
+  now have two additional methods, ``hidden_fields()`` and ``visible_fields()``,
90 90
   which return the list of hidden -- i.e., ``<input type="hidden">`` -- and
91 91
   visible fields on the form, respectively.
92 92
 
93  
-* The ``redirect_to`` generic view (see `the generic views documentation
94  
-  <ref-generic-views>`_) now accepts an additional keyword argument
  93
+* The ``redirect_to`` generic view (see :ref:`the generic views documentation
  94
+  <ref-generic-views>`) now accepts an additional keyword argument
95 95
   ``permanent``. If ``permanent`` is ``True``, the view will emit an HTTP
96 96
   permanent redirect (status code 301). If ``False``, the view will emit an HTTP
97 97
   temporary redirect (status code 302).
@@ -99,7 +99,8 @@ Other new features and changes introduced since Django 1.0 include:
99 99
 * A new database lookup type -- ``week_day`` -- has been added for ``DateField``
100 100
   and ``DateTimeField``. This type of lookup accepts a number between 1 (Sunday)
101 101
   and 7 (Saturday), and returns objects where the field value matches that day
102  
-  of the week. See `the full list of lookup types <field-lookups>`_ for details.
  102
+  of the week. See :ref:`the full list of lookup types <field-lookups>` for
  103
+  details.
103 104
 
104 105
 * The ``{% for %}`` tag in Django's template language now accepts an optional
105 106
   ``{% empty %}`` clause, to be displayed when ``{% for %}`` is asked to loop
@@ -150,7 +151,7 @@ interested in helping out with Django's development, feel free to join the
150 151
 discussions there.
151 152
 
152 153
 Django's online documentation also includes pointers on how to contribute to
153  
-Django: 
  154
+Django:
154 155
 
155 156
     * :ref:`How to contribute to Django <internals-contributing>`
156 157
 
11  docs/releases/1.1.txt
@@ -392,13 +392,13 @@ Other new features and changes introduced since Django 1.0 include:
392 392
 * The ``include()`` function in Django URLconf modules can now accept sequences
393 393
   of URL patterns (generated by ``patterns()``) in addition to module names.
394 394
 
395  
-* Instances of Django forms (see `the forms overview <topics-forms-index>`_ now
396  
-  have two additional methods, ``hidden_fields()`` and ``visible_fields()``,
  395
+* Instances of Django forms (see :ref:`the forms overview <topics-forms-index>`)
  396
+  now have two additional methods, ``hidden_fields()`` and ``visible_fields()``,
397 397
   which return the list of hidden -- i.e., ``<input type="hidden">`` -- and
398 398
   visible fields on the form, respectively.
399 399
 
400  
-* The ``redirect_to`` generic view (see `the generic views documentation
401  
-  <ref-generic-views>`_) now accepts an additional keyword argument
  400
+* The ``redirect_to`` generic view (see :ref:`the generic views documentation
  401
+  <ref-generic-views>`) now accepts an additional keyword argument
402 402
   ``permanent``. If ``permanent`` is ``True``, the view will emit an HTTP
403 403
   permanent redirect (status code 301). If ``False``, the view will emit an HTTP
404 404
   temporary redirect (status code 302).
@@ -406,7 +406,8 @@ Other new features and changes introduced since Django 1.0 include:
406 406
 * A new database lookup type -- ``week_day`` -- has been added for ``DateField``
407 407
   and ``DateTimeField``. This type of lookup accepts a number between 1 (Sunday)
408 408
   and 7 (Saturday), and returns objects where the field value matches that day
409  
-  of the week. See `the full list of lookup types <field-lookups>`_ for details.
  409
+  of the week. See :ref:`the full list of lookup types <field-lookups>` for
  410
+  details.
410 411
 
411 412
 * The ``{% for %}`` tag in Django's template language now accepts an optional
412 413
   ``{% empty %}`` clause, to be displayed when ``{% for %}`` is asked to loop

0 notes on commit 39122c8

Please sign in to comment.
Something went wrong with that request. Please try again.