Commit d6a1e2ef authored by Karen Tracey's avatar Karen Tracey
Browse files

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

[1.0.X] Fixed #9487 -- Corrected several links into the Python docs that 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
parent 587a2f98
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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::
+1 −1
Original line number Diff line number Diff line
@@ -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
============================
+1 −1
Original line number Diff line number Diff line
@@ -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
=================
+1 −1
Original line number Diff line number Diff line
@@ -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
=====================
+1 −1
Original line number Diff line number Diff line
@@ -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
----------------------
Loading