diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-07-13 01:17:23 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-07-13 01:17:23 +0000 |
| commit | 1bb880956175addecc345d8f0c25b7f8e46bb370 (patch) | |
| tree | 69dcfbb6d6c85063d7b610f50292f59f397e2ba5 | |
| parent | e47d8e7fb17c31a6ef5524957c8f8634ed6a64f5 (diff) | |
Added a docstring to CyclicDependency exception class.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/db/models/query.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/django/db/models/query.py b/django/db/models/query.py index ef09b0f121..02a46a81c3 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -21,7 +21,12 @@ ITER_CHUNK_SIZE = CHUNK_SIZE # Pull into this namespace for backwards compatibility. EmptyResultSet = sql.EmptyResultSet + class CyclicDependency(Exception): + """ + An error when dealing with a collection of objects that have a cyclic + dependency, i.e. when deleting multiple objects. + """ pass |
