Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.0.X] Fixed #9487 -- Corrected several links into the Python docs t…

…hat were broken by the recent Python docs refactor.

[9312] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d6a1e2ef7a9ebe9f0e48c43c25d1603200bcc8b1 1 parent 587a2f9
Karen Tracey authored
2  docs/howto/custom-template-tags.txt
@@ -344,7 +344,7 @@ else. In our case, let's say the tag should be used like this:
344 344
 
345 345
     <p>The time is {% current_time "%Y-%m-%d %I:%M %p" %}.</p>
346 346
 
347  
-.. _`strftime syntax`: http://www.python.org/doc/current/lib/module-time.html#l2h-1941
  347
+.. _`strftime syntax`: http://docs.python.org/library/time.html#time.strftime
348 348
 
349 349
 The parser for this function should grab the parameter and create a ``Node``
350 350
 object::
2  docs/howto/outputting-csv.txt
@@ -8,7 +8,7 @@ This document explains how to output CSV (Comma Separated Values) dynamically
8 8
 using Django views. To do this, you can either use the `Python CSV library`_ or
9 9
 the Django template system.
10 10
 
11  
-.. _Python CSV library: http://www.python.org/doc/current/lib/module-csv.html
  11
+.. _Python CSV library: http://docs.python.org/library/csv.html
12 12
 
13 13
 Using the Python CSV library
14 14
 ============================
2  docs/howto/outputting-pdf.txt
@@ -131,7 +131,7 @@ Here's the above "Hello World" example rewritten to use ``cStringIO``::
131 131
         response.write(pdf)
132 132
         return response
133 133
 
134  
-.. _cStringIO: http://www.python.org/doc/current/lib/module-cStringIO.html
  134
+.. _cStringIO: http://docs.python.org/library/stringio.html#module-cStringIO
135 135
 
136 136
 Further resources
137 137
 =================
2  docs/intro/tutorial03.txt
@@ -128,7 +128,7 @@ Finally, a performance note: these regular expressions are compiled the first
128 128
 time the URLconf module is loaded. They're super fast.
129 129
 
130 130
 .. _Wikipedia's entry: http://en.wikipedia.org/wiki/Regular_expression
131  
-.. _Python documentation: http://www.python.org/doc/current/lib/module-re.html
  131
+.. _Python documentation: http://docs.python.org/library/re.html
132 132
 
133 133
 Write your first view
134 134
 =====================
2  docs/ref/contrib/syndication.txt
@@ -928,7 +928,7 @@ For example, to create an Atom 1.0 feed and print it to standard output::
928 928
     </feed>
929 929
 
930 930
 .. _django/utils/feedgenerator.py: http://code.djangoproject.com/browser/django/trunk/django/utils/feedgenerator.py
931  
-.. _Python datetime object: http://www.python.org/doc/current/lib/module-datetime.html
  931
+.. _Python datetime object: http://docs.python.org/library/datetime.html#datetime-objects
932 932
 
933 933
 Custom feed generators
934 934
 ----------------------
2  docs/ref/generic-views.txt
@@ -406,7 +406,7 @@ In addition to ``extra_context``, the template's context will be:
406 406
       is ``'object'`` by default. If ``template_object_name`` is ``'foo'``,
407 407
       this variable's name will be ``foo_list``.
408 408
 
409  
-.. _strftime docs: http://www.python.org/doc/current/lib/module-time.html#l2h-1941
  409
+.. _strftime docs: http://docs.python.org/library/time.html#time.strftime
410 410
 
411 411
 ``django.views.generic.date_based.archive_week``
412 412
 ------------------------------------------------
2  docs/ref/request-response.txt
@@ -499,7 +499,7 @@ Methods
499 499
           calendars.lawrence.com. Otherwise, a cookie will only be readable by
500 500
           the domain that set it.
501 501
 
502  
-    .. _`cookie Morsel`: http://www.python.org/doc/current/lib/morsel-objects.html
  502
+    .. _`cookie Morsel`: http://docs.python.org/library/cookie.html#Cookie.Morsel
503 503
 
504 504
 .. method:: HttpResponse.delete_cookie(key, path='/', domain=None)
505 505
 
2  docs/ref/templates/builtins.txt
@@ -1255,7 +1255,7 @@ pprint
1255 1255
 
1256 1256
 A wrapper around `pprint.pprint`__ -- for debugging, really.
1257 1257
 
1258  
-__ http://www.python.org/doc/2.5/lib/module-pprint.html
  1258
+__ http://docs.python.org/library/pprint.html
1259 1259
 
1260 1260
 .. templatefilter:: random
1261 1261
 
4  docs/topics/email.txt
@@ -13,7 +13,7 @@ extra quick.
13 13
 
14 14
 The code lives in a single module: ``django.core.mail``.
15 15
 
16  
-.. _smtplib library: http://www.python.org/doc/current/lib/module-smtplib.html
  16
+.. _smtplib library: http://docs.python.org/library/smtplib.html
17 17
 
18 18
 Quick example
19 19
 =============
@@ -63,7 +63,7 @@ are required.
63 63
       SMTP server. If this isn't provided, Django will use the value of the
64 64
       ``EMAIL_HOST_PASSWORD`` setting.
65 65
 
66  
-.. _smtplib docs: http://www.python.org/doc/current/lib/module-smtplib.html
  66
+.. _smtplib docs: http://docs.python.org/library/smtplib.html
67 67
 
68 68
 send_mass_mail()
69 69
 ================
2  docs/topics/http/sessions.txt
@@ -466,7 +466,7 @@ Technical details
466 466
     * Django only sends a cookie if it needs to. If you don't set any session
467 467
       data, it won't send a session cookie.
468 468
 
469  
-.. _`the pickle module`: http://www.python.org/doc/current/lib/module-pickle.html
  469
+.. _`the pickle module`: http://docs.python.org/library/pickle.html
470 470
 
471 471
 Session IDs in URLs
472 472
 ===================

0 notes on commit d6a1e2e

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