diff options
| author | Gabriel Hurley <gabehr@gmail.com> | 2011-03-03 19:31:10 +0000 |
|---|---|---|
| committer | Gabriel Hurley <gabehr@gmail.com> | 2011-03-03 19:31:10 +0000 |
| commit | 20b940614e62c1b71c7a438c686fe6a387746f28 (patch) | |
| tree | 8ea1310264cc211c65b583199e033a4b7517008f /docs/ref/exceptions.txt | |
| parent | d50f59ee18f6f1241f4d14d7218b6fb64ce9c3b5 (diff) | |
Added crossref targets for a couple of Django exceptions and cleaned up related reST markup.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/exceptions.txt')
| -rw-r--r-- | docs/ref/exceptions.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/ref/exceptions.txt b/docs/ref/exceptions.txt index f1246bf5af..947815b7fe 100644 --- a/docs/ref/exceptions.txt +++ b/docs/ref/exceptions.txt @@ -104,6 +104,18 @@ ValidationError :ref:`Model Field Validation <validating-objects>` and the :doc:`Validator Reference </ref/validators>`. +.. currentmodule:: django.core.urlresolvers + +NoReverseMatch +-------------- +.. exception:: NoReverseMatch + + The :exc:`NoReverseMatch` exception is raised by + :mod:`django.core.urlresolvers` when a matching URL in your URLconf + cannot be identified based on the parameters supplied. + +.. currentmodule:: django.db + Database Exceptions =================== @@ -112,6 +124,9 @@ Django wraps the standard database exceptions :exc:`DatabaseError` and implementation of these classes. These database exceptions are provided in :mod:`django.db`. +.. exception:: DatabaseError +.. 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. |
