Skip to content

Commit

Permalink
Fixed #9487 -- Corrected several links into the Python docs that were…
Browse files Browse the repository at this point in the history
… 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
kmtracey committed Nov 1, 2008
1 parent 8955a08 commit d4f4ab8
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/howto/custom-template-tags.txt
Expand Up @@ -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::
Expand Down
2 changes: 1 addition & 1 deletion docs/howto/outputting-csv.txt
Expand Up @@ -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
============================
Expand Down
2 changes: 1 addition & 1 deletion docs/howto/outputting-pdf.txt
Expand Up @@ -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
=================
Expand Down
2 changes: 1 addition & 1 deletion docs/intro/tutorial03.txt
Expand Up @@ -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
=====================
Expand Down
2 changes: 1 addition & 1 deletion docs/ref/contrib/syndication.txt
Expand Up @@ -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
----------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/ref/generic-views.txt
Expand Up @@ -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``
------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/ref/request-response.txt
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion docs/ref/templates/builtins.txt
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/topics/email.txt
Expand Up @@ -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
=============
Expand Down Expand Up @@ -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()
================
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/http/sessions.txt
Expand Up @@ -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
===================
Expand Down

0 comments on commit d4f4ab8

Please sign in to comment.