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
This commit is contained in:
parent
8955a085a5
commit
d4f4ab8535
|
@ -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>
|
<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``
|
The parser for this function should grab the parameter and create a ``Node``
|
||||||
object::
|
object::
|
||||||
|
|
|
@ -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
|
using Django views. To do this, you can either use the `Python CSV library`_ or
|
||||||
the Django template system.
|
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
|
Using the Python CSV library
|
||||||
============================
|
============================
|
||||||
|
|
|
@ -131,7 +131,7 @@ Here's the above "Hello World" example rewritten to use ``cStringIO``::
|
||||||
response.write(pdf)
|
response.write(pdf)
|
||||||
return response
|
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
|
Further resources
|
||||||
=================
|
=================
|
||||||
|
|
|
@ -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.
|
time the URLconf module is loaded. They're super fast.
|
||||||
|
|
||||||
.. _Wikipedia's entry: http://en.wikipedia.org/wiki/Regular_expression
|
.. _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
|
Write your first view
|
||||||
=====================
|
=====================
|
||||||
|
|
|
@ -928,7 +928,7 @@ For example, to create an Atom 1.0 feed and print it to standard output::
|
||||||
</feed>
|
</feed>
|
||||||
|
|
||||||
.. _django/utils/feedgenerator.py: http://code.djangoproject.com/browser/django/trunk/django/utils/feedgenerator.py
|
.. _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
|
Custom feed generators
|
||||||
----------------------
|
----------------------
|
||||||
|
|
|
@ -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'``,
|
is ``'object'`` by default. If ``template_object_name`` is ``'foo'``,
|
||||||
this variable's name will be ``foo_list``.
|
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``
|
``django.views.generic.date_based.archive_week``
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
|
|
@ -499,7 +499,7 @@ Methods
|
||||||
calendars.lawrence.com. Otherwise, a cookie will only be readable by
|
calendars.lawrence.com. Otherwise, a cookie will only be readable by
|
||||||
the domain that set it.
|
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)
|
.. method:: HttpResponse.delete_cookie(key, path='/', domain=None)
|
||||||
|
|
||||||
|
|
|
@ -1255,7 +1255,7 @@ pprint
|
||||||
|
|
||||||
A wrapper around `pprint.pprint`__ -- for debugging, really.
|
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
|
.. templatefilter:: random
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ extra quick.
|
||||||
|
|
||||||
The code lives in a single module: ``django.core.mail``.
|
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
|
Quick example
|
||||||
=============
|
=============
|
||||||
|
@ -63,7 +63,7 @@ are required.
|
||||||
SMTP server. If this isn't provided, Django will use the value of the
|
SMTP server. If this isn't provided, Django will use the value of the
|
||||||
``EMAIL_HOST_PASSWORD`` setting.
|
``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()
|
send_mass_mail()
|
||||||
================
|
================
|
||||||
|
|
|
@ -466,7 +466,7 @@ Technical details
|
||||||
* Django only sends a cookie if it needs to. If you don't set any session
|
* Django only sends a cookie if it needs to. If you don't set any session
|
||||||
data, it won't send a session cookie.
|
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
|
Session IDs in URLs
|
||||||
===================
|
===================
|
||||||
|
|
Loading…
Reference in New Issue