Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #9487 -- Corrected several links into the Python docs that were…

… broken by the recent Python docs refactor.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d4f4ab853532c0b541e640eb2e3f5ec17f0b9dd6 1 parent 8955a08
Karen Tracey kmtracey authored
2  docs/howto/custom-template-tags.txt
View
@@ -344,7 +344,7 @@ else. In our case, let's say the tag should be used like this:
<p>The time is {% current_time "%Y-%m-%d %I:%M %p" %}.</p>
-.. _`strftime syntax`: http://www.python.org/doc/current/lib/module-time.html#l2h-1941
+.. _`strftime syntax`: http://docs.python.org/library/time.html#time.strftime
The parser for this function should grab the parameter and create a ``Node``
object::
2  docs/howto/outputting-csv.txt
View
@@ -8,7 +8,7 @@ This document explains how to output CSV (Comma Separated Values) dynamically
using Django views. To do this, you can either use the `Python CSV library`_ or
the Django template system.
-.. _Python CSV library: http://www.python.org/doc/current/lib/module-csv.html
+.. _Python CSV library: http://docs.python.org/library/csv.html
Using the Python CSV library
============================
2  docs/howto/outputting-pdf.txt
View
@@ -131,7 +131,7 @@ Here's the above "Hello World" example rewritten to use ``cStringIO``::
response.write(pdf)
return response
-.. _cStringIO: http://www.python.org/doc/current/lib/module-cStringIO.html
+.. _cStringIO: http://docs.python.org/library/stringio.html#module-cStringIO
Further resources
=================
2  docs/intro/tutorial03.txt
View
@@ -128,7 +128,7 @@ Finally, a performance note: these regular expressions are compiled the first
time the URLconf module is loaded. They're super fast.
.. _Wikipedia's entry: http://en.wikipedia.org/wiki/Regular_expression
-.. _Python documentation: http://www.python.org/doc/current/lib/module-re.html
+.. _Python documentation: http://docs.python.org/library/re.html
Write your first view
=====================
2  docs/ref/contrib/syndication.txt
View
@@ -928,7 +928,7 @@ For example, to create an Atom 1.0 feed and print it to standard output::
</feed>
.. _django/utils/feedgenerator.py: http://code.djangoproject.com/browser/django/trunk/django/utils/feedgenerator.py
-.. _Python datetime object: http://www.python.org/doc/current/lib/module-datetime.html
+.. _Python datetime object: http://docs.python.org/library/datetime.html#datetime-objects
Custom feed generators
----------------------
2  docs/ref/generic-views.txt
View
@@ -406,7 +406,7 @@ In addition to ``extra_context``, the template's context will be:
is ``'object'`` by default. If ``template_object_name`` is ``'foo'``,
this variable's name will be ``foo_list``.
-.. _strftime docs: http://www.python.org/doc/current/lib/module-time.html#l2h-1941
+.. _strftime docs: http://docs.python.org/library/time.html#time.strftime
``django.views.generic.date_based.archive_week``
------------------------------------------------
2  docs/ref/request-response.txt
View
@@ -499,7 +499,7 @@ Methods
calendars.lawrence.com. Otherwise, a cookie will only be readable by
the domain that set it.
- .. _`cookie Morsel`: http://www.python.org/doc/current/lib/morsel-objects.html
+ .. _`cookie Morsel`: http://docs.python.org/library/cookie.html#Cookie.Morsel
.. method:: HttpResponse.delete_cookie(key, path='/', domain=None)
2  docs/ref/templates/builtins.txt
View
@@ -1255,7 +1255,7 @@ pprint
A wrapper around `pprint.pprint`__ -- for debugging, really.
-__ http://www.python.org/doc/2.5/lib/module-pprint.html
+__ http://docs.python.org/library/pprint.html
.. templatefilter:: random
4 docs/topics/email.txt
View
@@ -13,7 +13,7 @@ extra quick.
The code lives in a single module: ``django.core.mail``.
-.. _smtplib library: http://www.python.org/doc/current/lib/module-smtplib.html
+.. _smtplib library: http://docs.python.org/library/smtplib.html
Quick example
=============
@@ -63,7 +63,7 @@ are required.
SMTP server. If this isn't provided, Django will use the value of the
``EMAIL_HOST_PASSWORD`` setting.
-.. _smtplib docs: http://www.python.org/doc/current/lib/module-smtplib.html
+.. _smtplib docs: http://docs.python.org/library/smtplib.html
send_mass_mail()
================
2  docs/topics/http/sessions.txt
View
@@ -466,7 +466,7 @@ Technical details
* Django only sends a cookie if it needs to. If you don't set any session
data, it won't send a session cookie.
-.. _`the pickle module`: http://www.python.org/doc/current/lib/module-pickle.html
+.. _`the pickle module`: http://docs.python.org/library/pickle.html
Session IDs in URLs
===================
Please sign in to comment.
Something went wrong with that request. Please try again.