summaryrefslogtreecommitdiff
path: root/docs/ref/exceptions.txt
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2011-09-04 21:17:30 +0000
committerRamiro Morales <cramm0@gmail.com>2011-09-04 21:17:30 +0000
commit932b1b8d6dbd1a4d8e50aa0528c1489094f5704c (patch)
tree2eabdbaca6daac3166847f77d3f06efc3dc2d928 /docs/ref/exceptions.txt
parent9110257a328bacae0a6131ca7b3c8b241fef128c (diff)
Converted links to external topics so they use intersphinx extension markup.
This allows to make these links more resilent to changes in the target URLs. Thanks Jannis for the report and Aymeric Augustin for the patch. Fixes #16586. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/exceptions.txt')
-rw-r--r--docs/ref/exceptions.txt14
1 files changed, 5 insertions, 9 deletions
diff --git a/docs/ref/exceptions.txt b/docs/ref/exceptions.txt
index a42bdafb7f..9177cc0feb 100644
--- a/docs/ref/exceptions.txt
+++ b/docs/ref/exceptions.txt
@@ -128,10 +128,8 @@ provided in :mod:`django.db`.
.. exception:: IntegrityError
The Django wrappers for database exceptions behave exactly the same as
-the underlying database exceptions. See `PEP 249 - Python Database API
-Specification v2.0`_ for further information.
-
-.. _`PEP 249 - Python Database API Specification v2.0`: http://www.python.org/dev/peps/pep-0249/
+the underlying database exceptions. See :pep:`249`, the Python Database API
+Specification v2.0, for further information.
.. currentmodule:: django.db.transaction
@@ -147,8 +145,6 @@ Transaction Exceptions
Python Exceptions
=================
-Django raises built-in Python exceptions when appropriate as well. See
-the Python `documentation`_ for further information on the built-in
-exceptions.
-
-.. _`documentation`: http://docs.python.org/lib/module-exceptions.html
+Django raises built-in Python exceptions when appropriate as well. See the
+Python documentation for further information on the
+built-in :mod:`exceptions`.