From 1bb880956175addecc345d8f0c25b7f8e46bb370 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Sun, 13 Jul 2008 01:17:23 +0000 Subject: [PATCH] Added a docstring to CyclicDependency exception class. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7911 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/query.py | 5 +++++ 1 file changed, 5 insertions(+) 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