Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #4133 -- Fixed broken links in docs. Thanks, Gary Wilson

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 39aa40d108c4680f9efbb148bfa52801ccc10ff3 1 parent 53eddd4
Adrian Holovaty authored April 24, 2007
4  docs/api_stability.txt
@@ -100,14 +100,14 @@ change:
100 100
      
101 101
 .. _caching: ../cache/
102 102
 .. _custom template tags and libraries: ../templates_python/
103  
-.. _database lookup: ../db_api/
  103
+.. _database lookup: ../db-api/
104 104
 .. _django-admin utility: ../django-admin/
105 105
 .. _fastcgi integration: ../fastcgi/
106 106
 .. _flatpages: ../flatpages/
107 107
 .. _generic views: ../generic_views/
108 108
 .. _internationalization: ../i18n/
109 109
 .. _legacy database integration: ../legacy_databases/
110  
-.. _model definition: ../model_api/
  110
+.. _model definition: ../model-api/
111 111
 .. _mod_python integration: ../modpython/
112 112
 .. _redirects: ../redirects/
113 113
 .. _request/response objects: ../request_response/
4  docs/authentication.txt
@@ -144,7 +144,7 @@ custom methods:
144 144
       Raises ``django.contrib.auth.models.SiteProfileNotAvailable`` if the current site
145 145
       doesn't allow profiles.
146 146
 
147  
-.. _Django model: ../model_api/
  147
+.. _Django model: ../model-api/
148 148
 .. _DEFAULT_FROM_EMAIL: ../settings/#default-from-email
149 149
 
150 150
 Manager functions
@@ -757,7 +757,7 @@ This example model creates three custom permissions::
757 757
 The only thing this does is create those extra permissions when you run
758 758
 ``syncdb``.
759 759
 
760  
-.. _model Meta attribute: ../model_api/#meta-options
  760
+.. _model Meta attribute: ../model-api/#meta-options
761 761
 
762 762
 API reference
763 763
 -------------
6  docs/db-api.txt
@@ -6,7 +6,7 @@ Once you've created your `data models`_, Django automatically gives you a
6 6
 database-abstraction API that lets you create, retrieve, update and delete
7 7
 objects. This document explains that API.
8 8
 
9  
-.. _`data models`: ../model_api/
  9
+.. _`data models`: ../model-api/
10 10
 
11 11
 Throughout this reference, we'll refer to the following models, which comprise
12 12
 a weblog application::
@@ -85,7 +85,7 @@ There's no way to tell what the value of an ID will be before you call
85 85
 unless you explicitly specify ``primary_key=True`` on a field. See the
86 86
 `AutoField documentation`_.)
87 87
 
88  
-.. _AutoField documentation: ../model_api/#autofield
  88
+.. _AutoField documentation: ../model-api/#autofield
89 89
 
90 90
 Explicitly specifying auto-primary-key values
91 91
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1801,4 +1801,4 @@ interface to your database. You can access your database via other tools,
1801 1801
 programming languages or database frameworks; there's nothing Django-specific
1802 1802
 about your database.
1803 1803
 
1804  
-.. _Executing custom SQL: ../model_api/#executing-custom-sql
  1804
+.. _Executing custom SQL: ../model-api/#executing-custom-sql
2  docs/faq.txt
@@ -512,7 +512,7 @@ type, create an initial data file and put something like this in it::
512 512
 As explained in the `SQL initial data file`_ documentation, this SQL file can
513 513
 contain arbitrary SQL, so you can make any sorts of changes you need to make.
514 514
 
515  
-.. _SQL initial data file: ../model_api/#providing-initial-sql-data
  515
+.. _SQL initial data file: ../model-api/#providing-initial-sql-data
516 516
 
517 517
 Why is Django leaking memory?
518 518
 -----------------------------
4  docs/flatpages.txt
@@ -84,9 +84,9 @@ Flatpages are represented by a standard `Django model`_, which lives in
84 84
 `django/contrib/flatpages/models.py`_. You can access flatpage objects via the
85 85
 `Django database API`_.
86 86
 
87  
-.. _Django model: ../model_api/
  87
+.. _Django model: ../model-api/
88 88
 .. _django/contrib/flatpages/models.py: http://code.djangoproject.com/browser/django/trunk/django/contrib/flatpages/models.py
89  
-.. _Django database API: ../db_api/
  89
+.. _Django database API: ../db-api/
90 90
 
91 91
 Flatpage templates
92 92
 ==================
2  docs/forms.txt
@@ -691,5 +691,5 @@ fails. If no message is passed in, a default message is used.
691 691
     document for more details).
692 692
 
693 693
 .. _`generic views`: ../generic_views/
694  
-.. _`models API`: ../model_api/
  694
+.. _`models API`: ../model-api/
695 695
 .. _settings: ../settings/
2  docs/generic_views.txt
@@ -71,7 +71,7 @@ are first evaluated, so if you want to pass in a QuerySet via
71 71
 ``extra_context`` that is always fresh you need to wrap it in a function or
72 72
 lambda that returns the QuerySet.
73 73
 
74  
-.. _database API docs: ../db_api/
  74
+.. _database API docs: ../db-api/
75 75
 
76 76
 "Simple" generic views
77 77
 ======================
2  docs/i18n.txt
@@ -175,7 +175,7 @@ class, though::
175 175
             verbose_name = _('my thing')
176 176
             verbose_name_plural = _('mythings')
177 177
 
178  
-.. _Django models: ../model_api/
  178
+.. _Django models: ../model-api/
179 179
 
180 180
 Pluralization
181 181
 ~~~~~~~~~~~~~
4  docs/redirects.txt
@@ -66,6 +66,6 @@ Redirects are represented by a standard `Django model`_, which lives in
66 66
 `django/contrib/redirects/models.py`_. You can access redirect
67 67
 objects via the `Django database API`_.
68 68
 
69  
-.. _Django model: ../model_api/
  69
+.. _Django model: ../model-api/
70 70
 .. _django/contrib/redirects/models.py: http://code.djangoproject.com/browser/django/trunk/django/contrib/redirects/models.py
71  
-.. _Django database API: ../db_api/
  71
+.. _Django database API: ../db-api/
2  docs/serialization.txt
@@ -27,7 +27,7 @@ data to (see `Serialization formats`_) and a QuerySet_ to serialize.
27 27
 (Actually, the second argument can be any iterator that yields Django objects,
28 28
 but it'll almost always be a QuerySet).
29 29
 
30  
-.. _QuerySet: ../db_api/#retrieving-objects
  30
+.. _QuerySet: ../db-api/#retrieving-objects
31 31
 
32 32
 You can also use a serializer object directly::
33 33
 
2  docs/settings.txt
@@ -874,7 +874,7 @@ Default: ``Django/<version> (http://www.djangoproject.com/)``
874 874
 The string to use as the ``User-Agent`` header when checking to see if URLs
875 875
 exist (see the ``verify_exists`` option on URLField_).
876 876
 
877  
-.. _URLField: ../model_api/#urlfield
  877
+.. _URLField: ../model-api/#urlfield
878 878
 
879 879
 USE_ETAGS
880 880
 ---------
4  docs/sites.txt
@@ -276,8 +276,8 @@ you want your admin site to have access to all objects (not just site-specific
276 276
 ones), put ``objects = models.Manager()`` in your model, before you define
277 277
 ``CurrentSiteManager``.
278 278
 
279  
-.. _manager: ../model_api/#managers
280  
-.. _manager documentation: ../model_api/#managers
  279
+.. _manager: ../model-api/#managers
  280
+.. _manager documentation: ../model-api/#managers
281 281
 
282 282
 How Django uses the sites framework
283 283
 ===================================
2  docs/syndication_feeds.txt
@@ -159,7 +159,7 @@ put into those elements.
159 159
              {{ obj.description }}
160 160
 
161 161
 .. _chicagocrime.org: http://www.chicagocrime.org/
162  
-.. _object-relational mapper: ../db_api/
  162
+.. _object-relational mapper: ../db-api/
163 163
 .. _Django templates: ../templates/
164 164
 
165 165
 A complex example
2  docs/tutorial01.txt
@@ -577,5 +577,5 @@ For full details on the database API, see our `Database API reference`_.
577 577
 When you're comfortable with the API, read `part 2 of this tutorial`_ to get
578 578
 Django's automatic admin working.
579 579
 
580  
-.. _Database API reference: ../db_api/
  580
+.. _Database API reference: ../db-api/
581 581
 .. _part 2 of this tutorial: ../tutorial02/
2  docs/tutorial04.txt
@@ -219,7 +219,7 @@ template. Note that we use ``dict()`` to return an altered dictionary in place.
219 219
     If you'd like to know more about how that works, The Django database API
220 220
     documentation `explains the lazy nature of QuerySet objects`_.
221 221
 
222  
-.. _explains the lazy nature of QuerySet objects: ../db_api/#querysets-are-lazy
  222
+.. _explains the lazy nature of QuerySet objects: ../db-api/#querysets-are-lazy
223 223
 
224 224
 In previous parts of the tutorial, the templates have been provided with a context
225 225
 that contains the ``poll`` and ``latest_poll_list`` context variables. However,

0 notes on commit 39aa40d

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