~ubuntu-branches/debian/sid/python-django/sid

« back to all changes in this revision

Viewing changes to docs/ref/exceptions.txt

  • Committer: Package Import Robot
  • Author(s): Raphaël Hertzog
  • Date: 2014-09-17 14:15:11 UTC
  • mfrom: (1.3.17) (6.2.18 experimental)
  • Revision ID: package-import@ubuntu.com-20140917141511-icneokthe9ww5sk4
Tags: 1.7-2
* Release to unstable.
* Add a migrate-south sample script to help users apply their South
  migrations. Thanks to Brian May.

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
    :ref:`Model Field Validation <validating-objects>` and the
126
126
    :doc:`Validator Reference </ref/validators>`.
127
127
 
 
128
NON_FIELD_ERRORS
 
129
~~~~~~~~~~~~~~~~
 
130
.. data:: NON_FIELD_ERRORS
 
131
 
 
132
``ValidationError``\s that don't belong to a particular field in a form
 
133
or model are classified as ``NON_FIELD_ERRORS``. This constant is used
 
134
as a key in dictionaries that otherwise map fields to their respective
 
135
list of errors.
 
136
 
128
137
.. currentmodule:: django.core.urlresolvers
129
138
 
130
139
URL Resolver exceptions
217
226
=================
218
227
 
219
228
Django raises built-in Python exceptions when appropriate as well. See the
220
 
Python documentation for further information on the
221
 
built-in :mod:`exceptions`.
 
229
Python documentation for further information on the :ref:`bltin-exceptions`.